-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
96 lines (88 loc) · 2.89 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
#!/usr/bin/env python
"""The setup script."""
from setuptools import setup, find_packages
from os import getenv
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.1.3",
"PyGithub==1.55",
"colorama==0.4.5",
"coloredlogs==15.0.1", # NOTE(PG): Should be removed during cleanup for loguru instead
"emoji==1.7.0",
"f90nml==1.4.2",
"gfw-creator==0.2.2",
"gitpython==3.1.27",
"loguru==0.6.0",
"numpy==1.23.1",
"packaging==21.3",
"pandas==1.0",
"psutil==5.9.1",
"pyyaml==5.1",
"questionary==1.10.0",
"semver==2.13.0",
"six==1.16.0", # NOTE(PG): Should be removed during cleanup
"sqlalchemy==1.4.39",
"tabulate==0.8.10",
"tqdm==4.64.0",
"typing_extensions==4.3.0",
"xdgenvpy==2.3.5",
]
setup_requirements = []
test_requirements = ["pyfakefs==4.6.0",]
setup(
author="Dirk Barbi",
author_email="[email protected]",
python_requires=">=3.6, <3.10",
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",
],
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",
],
},
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"],
package_dir={
"": "src",
"esm_tools.configs": "configs",
"esm_tools.namelists": "namelists",
"esm_tools.runscripts": "runscripts",
},
package_data={
"esm_tools.configs": ["../configs/*"],
"esm_tools.namelists": ["../namelists/*"],
"esm_tools.runscripts": ["../runscripts/*"],
},
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/esm-tools/esm_tools",
version="6.12.5",
zip_safe=False,
)