-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
73 lines (68 loc) · 2.01 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
import re
from setuptools import setup, find_packages
def readme():
"""Return the contents of the project README file."""
with open("README.md") as f:
return f.read()
version = re.search(
r"__version__ = ['\"]([^'\"]*)['\"]", open("mosartwmpy/_version.py").read(), re.M
).group(1)
setup(
name="mosartwmpy",
version=version,
packages=find_packages(),
url="https://github.com/IMMM-SFA/mosartwmpy",
license="BSD2-Simplified",
author="Travis Thurber",
author_email="[email protected]",
description="Python implementation of MOSART-WM: A water routing and management model",
long_description=readme(),
long_description_content_type="text/markdown",
python_requires=">=3.9,<3.13",
include_package_data=True,
entry_points={
"console_scripts": [
"create_grand_parameters = mosartwmpy.utilities.create_grand_parameters:create_grand_parameters",
"bil_to_parquet = mosartwmpy.utilities.bil_to_parquet:bil_to_parquet",
]
},
install_requires=[
"bmipy>=2.0",
"click>=8.0.1",
"contextily>=1.2.0",
"dask[complete]>=2021.10.0",
"geopandas>=0.10.2",
"h5netcdf>=0.11.0",
"hvplot>=0.7.3",
"matplotlib>=3.4.3",
"nc-time-axis>=1.4.0",
"netCDF4>=1.5.7",
"numba>=0.53.1",
"numpy>=1.20.3,<2.0",
"pandas>=1.3.4",
"pathvalidate>=2.5.0",
"psutil>=5.8.0",
"pyarrow>=6.0.0",
"pyomo>=6.2",
"python-benedict>=0.24.3",
"regex>=2021.10.23",
"requests>=2.26.0",
"rioxarray>=0.8.0",
"tqdm>=4.62.3",
"xarray>=0.19.0",
],
extras_require={
"dev": [
"build>=0.7.0",
"ipython",
"nbsphinx>=0.8.7",
"recommonmark>=0.7.1",
"setuptools>=58.3.0",
"sphinx>=5",
"sphinx_design",
"sphinx-rtd-theme>=1.0.0",
"twine>=3.4.2",
"pre-commit",
]
},
)