-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
58 lines (44 loc) · 1.31 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
#!/usr/bin/env python
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'
from setuptools import setup, find_packages
import glob
import json
packs=find_packages()
with open('oda_api/pkg_info.json') as fp:
_info = json.load(fp)
__version__ = _info['version']
include_package_data=True
scripts_list=glob.glob('./bin/*')
setup(name='oda_api',
version=__version__,
description='API plugin for CDCI online data analysis',
author='Andrea Tramacere, Volodymyr Savchenko',
author_email='[email protected]',
scripts=scripts_list,
packages=packs,
package_data={'oda_api':['config_dir/*']},
include_package_data=True,
install_requires=[
"requests",
"future",
"astropy>=3.2",
"json_tricks",
"matplotlib",
"numpy",
"jsonschema",
"pyjwt"
],
tests_require=[
"pytest-xdist[psutil]",
"astroquery-integral==0.1.0",
],
entry_points={
"console_scripts": [
"oda-api = oda_api.cli:main"
]
},
python_requires='>=2.7',
)