-
Notifications
You must be signed in to change notification settings - Fork 60
/
setup.py
97 lines (94 loc) · 3.05 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
92
93
94
95
96
97
import os
from setuptools import setup
# putting pcraster under install_requires fails
# it seems pip cannot find a suitable version even though the conda install works
try:
import pcraster
except:
print("Could not import pcraster, install using conda install pcraster")
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
README = f.read()
setup(
name="wflow",
description="wflow hydrological modeling framework",
long_description=README,
author="J. Schellekens",
author_email="wflow@deltares.nl",
url="https://wflow.readthedocs.io/",
license="GPL",
use_scm_version={"write_to": "wflow/version.py", "fallback_version": "2020.2.dev"},
setup_requires=["setuptools_scm"],
python_requires=">=3.6",
install_requires=[
"numpy",
"scipy",
"gdal",
"netCDF4",
"xarray",
"cftime",
"numba",
"pyproj",
"python-dateutil",
],
extras_require={
"dev": [
"thrift>=0.11",
"pyinstaller>=3.3",
"setuptools_scm",
"setuptools>=38",
"pip>=9.0.3",
"black",
"pylint",
"sphinx",
"sphinx_rtd_theme",
"matplotlib",
"bmi-python",
],
"docs": ["sphinx", "sphinx_rtd_theme"],
},
packages=["wflow", "wflow.pcrglobwb", "wflow.sphy"],
package_dir={"wflow": "wflow"},
test_suite="tests",
zip_safe=False,
scripts=[
"Scripts/pcr2netcdf.py",
"Scripts/tss2xml.py",
"Scripts/wflow_subcatch.py",
"wflow/wflow_extract.py",
"wflow/wflow_sceleton.py",
"wflow/wflow_gr4.py",
"wflow/plottss.py",
"wflow/wflow_wave.py",
"wflow/wflow_topoflex.py",
"wflow/wflow_cqf.py",
"wflow/wflow_floodmap.py",
"wflow/wflow_upscale.py",
"wflow/wflow_fit.py",
"wflow/wflow_adapt.py",
"wflow/wflow_delwaq.py",
"wflow/wflow_emwaq.py",
"wflow/wflow_sediment.py",
"Scripts/wflow_prepare_step1.py",
"Scripts/wflow_prepare_step2.py",
"wflow/wflow_sbm.py",
"wflow/wflow_hbv.py",
"wflow/wflow_w3ra.py",
"wflow/wflow_upscale.py",
"wflow/wflow_routing.py",
"Scripts/bmi2runner.py",
],
classifiers=[
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Hydrology",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords="wflow hydrology modeling framework pcraster",
)