-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
91 lines (75 loc) · 1.85 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
from __future__ import absolute_import, division, print_function
from builtins import (bytes, str, open, super, range,
zip, round, input, int, pow, object, map, zip)
__author__ = 'andrea tramacere'
#!/usr/bin/env python
from setuptools import setup, find_packages
import glob
import json
# f = open("./requirements.txt",'r')
# install_req=f.readlines()
# f.close()
# install_req = [x for x in install_req if not x.startswith('-e git+h')]
install_req = [
'oda_api>=1.1.31',
'pylogstash_context>=0.1.19',
"numpy<2.0.0",
"pyyaml",
"simplejson",
"flask==2.0.3",
"astropy>=2.0.3",
"gunicorn",
"decorator",
"python-logstash",
"raven",
"blinker",
"bokeh==2.4.2",
"json_tricks",
"flask-restx==1.2.0",
"six",
"werkzeug==2.0.3",
"python-shell-colors==0.2.1",
"logging_tree",
"celery",
"redis",
"pyjwt",
"marshmallow",
"black>=22.10.0",
"bs4",
"GitPython",
"nbformat",
"giturlparse",
"sentry-sdk",
"validators==0.28.3",
"jsonschema<=4.17.3"
]
test_req = [
'pytest',
'pytest-sentry',
'psutil',
]
onto_req = [
'rdflib>=6.2.0',
]
packs = find_packages()
print ('packs',packs)
with open('cdci_data_analysis/pkg_info.json') as fp:
_info = json.load(fp)
__version__ = _info['version']
include_package_data=True
scripts_list=glob.glob('./bin/*')
setup(name='cdci_data_analysis',
version=__version__,
description='A Python Framework for CDCI online data analysis',
author='Andrea Tramacere',
author_email='[email protected]',
scripts=scripts_list,
package_data={'cdci_data_analysis':['config_dir/*']},
packages=packs,
include_package_data=True,
install_requires=install_req,
extras_require={
'test': test_req,
'ontology': onto_req
}
)