forked from chrisroadmap/ar6
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
70 lines (60 loc) · 1.69 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
import os.path
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
import versioneer
PACKAGE_NAME = "ar6"
AUTHORS = [
("Chris Smith", "[email protected]"),
]
URL = "https://github.com/chrisroadmap/ar6"
DESCRIPTION = "AR6-related work"
README = "README.md"
SOURCE_DIR = "src"
REQUIREMENTS = [
"fair==1.6.2",
"matplotlib",
"numpy",
"scipy",
"pandas",
"wquantiles",
"h5py",
"netCDF4>=1.5.6",
"tqdm",
"xlrd",
"statsmodels",
"openscm-runner==0.5.1",
"jupyter"
]
# no tests/docs in `src` so don't need exclude
PACKAGES = find_packages(SOURCE_DIR)
PACKAGE_DIR = {"": SOURCE_DIR}
# README #
def readme():
with open('README.md') as f:
return f.read()
setup(
name=PACKAGE_NAME,
version=versioneer.get_version(),
description=DESCRIPTION,
long_description=readme(),
long_description_content_type="text/x-rst",
author=", ".join([author[0] for author in AUTHORS]),
author_email=", ".join([author[1] for author in AUTHORS]),
url=URL,
license="3-Clause BSD License",
classifiers=[ # full list at https://pypi.org/pypi?%3Aaction=list_classifiers
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords=["climate", "model"],
packages=PACKAGES,
package_dir=PACKAGE_DIR,
include_package_data=True,
install_requires=REQUIREMENTS,
cmdclass=versioneer.get_cmdclass(),
)