-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (40 loc) · 1.16 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
import io, re
from setuptools import setup
with io.open("README.rst", "rt", encoding="utf8") as f:
readme = f.read()
with io.open("macaetr/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1)
requires = [
'netCDF4',
'numpy',
'pandas',
'refet>=0.3.7',
'scipy>=1.1.0',
'xarray'
]
tests_require = ['pytest']
classifiers = [
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.7',
'Environment :: Console',
'Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering',
'Intended Audience :: Science/Research'
]
setup(
name='macaetr',
version=version,
description='Download MACA downscaled data, calculate ASCE ETrz',
long_description=readme,
author='John Volk',
author_email='[email protected]',
license='Apache',
url='https://github.com/WSWUP/MACA-ETr',
platforms=['Windows','Linux','Mac OS X'],
classifiers=classifiers,
packages=['macaetr'],
install_requires=requires,
tests_require=tests_require,
package_data={'macaetr': ['metadata/*']},
include_package_data=True
)