-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
58 lines (51 loc) · 1.57 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
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()
def get_requirements():
"""Return a list of package requirements from the requirements.txt file."""
with open('requirements.txt') as f:
return f.read().split()
version = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", open('tethys/__init__.py').read(), re.M).group(1)
setup(
name='tethys-downscaling',
version=version,
description='Spatial and Temporal Downscaling of Global Water Demands',
url='https://github.com/JGCRI/tethys',
packages=find_packages(),
license='BSD-2-Clause',
author='Isaac Thompson, Chris Vernon',
python_requires='>=3.9, <4',
include_package_data=True,
install_requires=[
'PyYAML>=6.0',
'gcamreader>=1.2.5',
'numpy>=1.22',
'pandas>=1.2.4',
'netCDF4>=1.6',
'dask[complete]>=2022.12.1',
'dask_geopandas>=0.3.1',
'xarray>=2022.09.0',
'rioxarray>=0.12.4',
'tqdm>=4.66.2',
'matplotlib>=3.8.3',
'bokeh!=3.0.*,>=2.4.2',
'geopandas>=0.14.3',
'hvplot>=0.9.2',
],
extras_require={
'dev': [
'build~=0.5.1',
'nbsphinx~=0.8.6',
'setuptools~=57.0.0',
'sphinx~=4.0.2',
'sphinx-panels~=0.6.0',
'sphinx-rtd-theme~=0.5.2',
'sphinx-mathjax-offline~=0.0.1',
'twine>=3.4.1',
'click-default-group>=1.2.4',
]
}
)