forked from pierregm/scikits.hydroclimpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
91 lines (74 loc) · 2.99 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
"""
:mod:`scikits.hydroclimpy`
--------------------------
A collection of tools to manipulate environmental and climatologic time series.
setuptools must be installed first. If you do not have setuptools installed
please download and install it from http://pypi.python.org/pypi/setuptools
"""
version = '0.67.1'
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: C',
'Programming Language :: Python',
'Topic :: Education',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
]
distname = 'scikits.hydroclimpy'
long_description = """
The scikits.hydroclimpy module is a collection of tools for manipulating and
plotting environmental time series of various frequencies. This package is
an extension for scikits.timeseries, focusing on tools for the analysis of
hydroclimatologic datasets.
"""
import os
import sys
import setuptools
from numpy.distutils.core import setup, Extension
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_package, top_path,
namespace_packages=['scikits'])
config.set_options(ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True,
)
config.add_subpackage('scikits')
config.add_subpackage('doc')
config.add_subpackage('examples')
config.add_subpackage(distname)
config.add_data_files('scikits/__init__.py')
return config
package_data = {'': 'hydroclimpyrc'}
def setup_package():
setup(
install_requires=['numpy > 1.2.5',
'scipy >= 0.7',
'scikits.timeseries >= 0.91'],
namespace_packages=['scikits'],
packages=setuptools.find_packages(),
test_suite = 'nose.collector',
name = distname,
version = version,
description = "Environmental time series manipulation",
long_description = long_description,
license = "BSD",
author = "Pierre GF GERARD-MARCHANT",
author_email = "pierregmcode_AT_gmail_DOT_com",
maintainer = "Pierre GF GERARD-MARCHANT",
maintainer_email = "pierregmcode_AT_gmail_DOT_com",
url = "http://hydroclimpy.sourceforge.net",
classifiers = classifiers,
platforms = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
configuration = configuration,
)
return
if __name__ == '__main__':
setup_package()