-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
62 lines (51 loc) · 1.63 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
"""
globalwarmingpotentials
-------------
Install using ::
pip install globalwarmingpotentials
See README.md and repository for details:
https://github.com/openclimatedate/globalwarmingpotentials
"""
from setuptools import find_packages, setup
import os
import versioneer
path = os.path.abspath(os.path.dirname(__file__))
description = "Global warming potentials of greenhouse gases from various IPCC reports"
with open(os.path.join(path, "./README.md"), "r") as f:
readme = f.read()
cmdclass = versioneer.get_cmdclass()
SOURCE_DIR = "src"
PACKAGES = find_packages(SOURCE_DIR)
PACKAGE_DIR = {"": SOURCE_DIR}
PACKAGE_DATA = {"globalwarmingpotentials": ["globalwarmingpotentials.csv"]}
setup(
name="globalwarmingpotentials",
version=versioneer.get_version(),
description=description,
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/openclimatedata/globalwarmingpotentials",
author="Robert Gieseke",
author_email="rob.g@web.de",
license="CC0",
platforms="any",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords=[
"climate research",
"greenhouse gases",
"global warming potentials",
"climate change",
],
cmdclass=cmdclass,
packages=PACKAGES,
package_dir=PACKAGE_DIR,
package_data=PACKAGE_DATA,
)