-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (64 loc) · 1.82 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
#!/usr/bin/env python
from __future__ import print_function
import os
import sys
import subprocess
from setuptools import setup, find_packages
#find_packages(exclude=['*personal.py', ])
def main():
packages = [
'datatoolbox',
# 'tools',
# 'data',
]
pack_dir = {
'datatoolbox': 'datatoolbox',
# 'tools':'datatoolbox/tools',
# 'data': 'datatoolbox/data'
}
package_data = {
'datatoolbox': [
'data/*',
'data/SANDBOX_datashelf/*',
'data/SANDBOX_datashelf/mappings/*',
'tools/*',
'tutorials/*.py',
'pint_definitions.txt']}
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
# packages = find_packages()
setup_kwargs = {
"name": "datatoolbox",
"description": 'The Python Data Toolbox',
"long_description" : long_description,
"long_description_content_type" :"text/markdown",
"author": 'Andreas Geiges',
"author_email": '[email protected]',
"url": 'https://gitlab.com/climateanalytics/datatoolbox',
"packages": packages,
"package_dir": pack_dir,
"package_data" : package_data,
"use_scm_version": {'write_to': 'datatoolbox/version.py'},
"setup_requires": ['setuptools_scm'],
"install_requires": [
"appdirs",
"pandas",
"gitpython",
"openscm_units",
"pint",
"pint-xarray",
"pycountry",
"fuzzywuzzy",
"tqdm",
"pyam-iamc",
"pyarrow",
"networkx",
"pint_xarray",
"openpyxl",
"tabulate",
"xarray",
"deprecated",],
}
rtn = setup(**setup_kwargs)
if __name__ == "__main__":
main()