-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsetup.py
More file actions
131 lines (122 loc) · 3.9 KB
/
Copy pathsetup.py
File metadata and controls
131 lines (122 loc) · 3.9 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#!/usr/bin/env python
"""The setup script."""
from os import getenv
from setuptools import find_packages, setup
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = [
"Click>=8.0.4", # Maximum version for Python 3.6 support
"PyGithub==1.55",
"colorama==0.4.5",
"f90nml==1.4.4",
"dask[distributed]>=2023.5.0,<=2024.8.0",
"gfw-creator==0.2.2",
"gitpython==3.1.50", # Maximum version for Python 3.6 support
"jinja2==3.1.6",
"loguru==0.6.0",
"numpy>=1.19.5", # Maximum version for Python 3.6 support
"packaging>=24.0",
"pandas>=1.1.5", # Correct compatiability with xarray for Python 3.6
"psutil==5.9.1",
"pytest==7.1.2",
"pyyaml==6.0.1",
"questionary==1.10.0",
"ruamel.yaml==0.17.32",
"ruamel.yaml.clib==0.2.7",
"semver==2.13.0",
"sqlalchemy>=1.4.39",
"tabulate==0.8.10",
"tqdm==4.66.3",
"typing_extensions>=4.1.1", # Maximum number for Python 3.6 support
"xdgenvpy==2.3.5",
"pydantic>=1.10.13",
"h5netcdf>=0.8.1",
]
setup_requirements = []
test_requirements = [
"pyfakefs==4.6.0",
]
setup(
author="The ESM Tools Team",
author_email=[
"dirk.barbi@awi.de",
"paul.gierz@awi.de",
"miguel.andres-martinez@awi.de",
"deniz.ural@awi.de",
"jan.streffing@awi.de",
"sebastian.wahl@geomar.de",
"kai.himstedt@dkrz.de",
],
python_requires=">=3.6, <3.13",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
description="ESM Tools external infrastructure for Earth System Modelling",
entry_points={
"console_scripts": [
"esm_archive=esm_archiving.cli:main",
"esm_cleanup=esm_cleanup.cli:main",
"esm_database=esm_database.cli:main",
"esm_master=esm_master.cli:main",
"esm_plugins=esm_plugin_manager.cli:main",
"esm_runscripts=esm_runscripts.cli:main",
"esm_tests=esm_tests.cli:main",
"esm_tools=esm_tools.cli:main",
"esm_utilities=esm_utilities.cli:main",
"esm-catalog=esm_catalog.cli:main",
],
},
extras_require={
"catalog": [
"pystac>=1.8",
"shapely>=2.0",
"universal-pathlib>=0.2",
],
},
install_requires=requirements,
license="GNU General Public License v2",
long_description=readme + "\n\n" + history,
include_package_data=True,
keywords="esm_tools",
name="esm-tools",
packages=find_packages("src")
+ [
"esm_tools",
"esm_tools.configs",
"esm_tools.namelists",
"esm_tools.runscripts",
"esm_tools.couplings",
],
package_dir={
"": "src",
"esm_tools.configs": "configs",
"esm_tools.namelists": "namelists",
"esm_tools.runscripts": "runscripts",
"esm_tools.couplings": "couplings",
},
package_data={
"esm_tools.configs": ["../configs/*"],
"esm_tools.namelists": ["../namelists/*"],
"esm_tools.runscripts": ["../runscripts/*"],
"esm_tools.couplings": ["../couplings/*"],
},
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/esm-tools/esm_tools",
version="6.66.1",
zip_safe=False,
)