-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
68 lines (62 loc) · 2 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
from os.path import exists
from setuptools import find_packages, setup
if exists("README.md"):
with open("README.md") as f:
long_description = f.read()
else:
long_description = ""
with open("requirements.txt") as f:
install_requires = f.read().strip().split("\n")
extras_require = {}
extras_require["test"] = [
"pytest",
"pre-commit",
]
extras_require["viz"] = [
"hvplot",
"xrviz",
"cartopy",
"geoviews",
"matplotlib",
]
extras_require["io"] = [
"netcdf4",
"h5netcdf",
"pydap",
]
extras_require["regionmask"] = ["regionmask", "intake_geopandas"]
extras_require["geopandas"] = ["geopandas", "intake_geopandas"]
extras_require["excel"] = ["openpyxl", "xlrd==1.2.0", "intake-excel"]
extras_require["complete"] = sorted({v for req in extras_require.values() for v in req})
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]
setup(
maintainer="Aaron Spring",
maintainer_email="aaron.spring@mpimet.mpg.de",
description="intake catalogs for climate data sources on the internet for python",
install_requires=install_requires,
python_requires=">=3.7",
license="MIT",
long_description=long_description,
classifiers=CLASSIFIERS,
name="remote_climate_data",
packages=find_packages(),
test_suite="tests",
tests_require=["pytest"],
url="https://github.com/aaronspring/remote_climate_data/",
use_scm_version={"version_scheme": "post-release", "local_scheme": "dirty-tag"},
zip_safe=False,
extras_require=extras_require,
)