forked from CLIMADA-project/climada_python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
108 lines (100 loc) · 2.41 KB
/
setup.py
File metadata and controls
108 lines (100 loc) · 2.41 KB
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
"""A setuptools based setup module.
"""
from pathlib import Path
from setuptools import find_namespace_packages, setup
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",
"sphinx-mdinclude",
]
# Requirements for testing
DEPS_TEST = [
"ipython",
"mccabe>=0.6",
"pylint>=3.0",
"pytest",
"pytest-cov",
"pytest-subtests",
]
# Requirements for development
DEPS_DEV = (
DEPS_DOC
+ DEPS_TEST
+ [
"pre-commit",
]
)
setup(
name="climada",
version="6.0.1",
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",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Mathematics",
],
keywords="climate adaptation",
python_requires=">=3.10,<3.12",
install_requires=[
"bayesian-optimization<2.0",
"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",
],
extras_require={
"doc": DEPS_DOC,
"test": DEPS_TEST,
"dev": DEPS_DEV,
},
packages=find_namespace_packages(include=["climada*"]),
setup_requires=["setuptools_scm"],
include_package_data=True,
)