-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
102 lines (92 loc) · 3.25 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
98
99
100
101
102
#!/usr/bin/env python
"""The setup script."""
from setuptools import setup, find_packages
import versioneer
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
install_requires = [
"geopandas",
'vtools3>=3.8', # moved unit_conversions to vtools, so dependent on the version where we did that
"gdal",
#"libgdal", # libgdal is for calling gdal_translate in clip_dems
"xarray",
"netcdf4",
"scipy",
"matplotlib",
"statsmodels",
"palettable",
"pyyaml",
"boto3", # only used for download_hrrr
"statsmodels",
"beautifulsoup4",
"pyproj",
"nodepy",
"sympy", # sympy is dependency of nodepy
"shapely>=2.0",
"rasterstats",
"param",
]
requirements = install_requires
setup_requirements = [
"pytest-runner",
]
test_requirements = [
"pytest>=3",
]
setup(
author="California Department of Water Resources",
author_email="[email protected], [email protected]",
python_requires=">=3.9",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="Python package for SCHISM",
entry_points={
"console_scripts": [
"batch_metrics=schimpy.batch_metrics:main",
"clip_dems=schimpy.clip_dems:main",
"contour_smooth=schimpy.contour_smooth:main",
"convert_mesh=schimpy.convert_mesh:main",
"convert_polygons=schimpy.convert_polygons:main",
"convert_linestrings=schimpy.convert_linestrings:main",
"convert_points=schimpy.convert_points:main",
"combine_consume=schimpy.combine_consume:main",
"prepare_schism=schimpy.prepare_schism:main",
"hotstart_inventory=schimpy.hotstart_inventory:main",
"hotstart_nudging_data=schimpy.hotstart_nudging_data:main",
"create_vgrid_lsc2=schimpy.create_vgrid_lsc2:main",
"schism_hotstart=schimpy.schism_hotstart:main",
"split_quad=schimpy.split_quad:main",
"model_time=schimpy.model_time:main",
"gen_elev2d=schimpy.gen_elev2d:main",
"small_areas=schimpy.small_areas:main",
"station=schimpy.station:main",
"create_hotstart=schimpy.schism_hotstart:main",
"create_nudging=schimpy.nudging:main",
"interpolate_structure=schimpy.interpolate_structure:main",
"merge_th=schimpy.merge_th:main",
"archive_ts=schimpy.archive_ts:main",
],
},
install_requires=requirements,
license="MIT license",
long_description=readme + "\n\n" + history,
include_package_data=True,
keywords="schimpy",
name="schimpy",
packages=find_packages(include=["schimpy", "schimpy.*"]),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/CADWRDeltaModeling/schimpy",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
zip_safe=False,
)