-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathsetup.py
111 lines (92 loc) · 2.32 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
103
104
105
106
107
108
109
110
111
"""A setuptools based setup module.
"""
from pathlib import Path
from setuptools import setup, find_namespace_packages
here = Path(__file__).parent.absolute()
# Get the long description from the README file
with open(here.joinpath('README.md'), encoding='utf-8') as f:
long_description = f.read()
# Requirements for documentation
DEPS_DOC = [
"ipython",
"myst-nb",
"readthedocs-sphinx-ext>=2.2",
"sphinx",
"sphinx-book-theme",
"sphinx-markdown-tables",
]
# Requirements for testing
DEPS_TEST = [
"ipython",
"mccabe>=0.6",
"pylint==2.7.1",
"pytest",
"pytest-cov",
"pytest-subtests",
]
setup(
name='climada',
version='5.0.0',
description='CLIMADA in Python',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/CLIMADA-project/climada_python',
author='ETH',
author_email='schmide@ethz.ch',
license='OSI Approved :: GNU Lesser General Public License v3 (GPLv3)',
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: Mathematics',
],
keywords='climate adaptation',
python_requires=">=3.9,<3.12",
install_requires=[
'bayesian-optimization',
'bottleneck',
'cartopy',
'cfgrib',
'contextily',
'dask',
'deprecation',
'geopandas',
'h5py',
'haversine',
'matplotlib',
'netcdf4',
'numba',
'openpyxl',
'overpy',
'pandas',
'pandas-datareader',
'pathos',
'peewee',
'pillow',
'pint',
'pycountry',
'pyproj',
'rasterio',
'salib',
'scikit-learn',
'seaborn',
'statsmodels',
'sparse',
'tables',
'tabulate',
'tqdm',
'xarray',
'xlrd',
'xlsxwriter',
'xmlrunner'
],
extras_require={
"doc": DEPS_DOC,
"test": DEPS_TEST,
"dev": DEPS_DOC + DEPS_TEST
},
packages=find_namespace_packages(include=['climada*']),
setup_requires=['setuptools_scm'],
include_package_data=True,
)