-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (43 loc) · 1.05 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
# -*- coding: utf-8 -*-
"""CLI and API to allow users to search, download from and upload to HEPData"""
import os
from setuptools import setup, find_packages
g = {}
with open(os.path.join('hepdata_cli', 'version.py'), 'rt') as fp:
exec(fp.read(), g)
version = g['__version__']
install_requirements = [
'click',
'requests',
'future',
]
test_requirements = [
'pytest',
'pytest-cov',
'requests_mock',
]
extras_require = {
'tests': test_requirements,
}
setup(
name='hepdata-cli',
version=version,
author='Giuseppe De Laurentis',
author_email='[email protected]',
description=__doc__,
keywords='hepdata cli api',
url='https://github.com/HEPData/hepdata-cli',
packages=find_packages(),
zip_safe=False,
platforms='any',
license='GPLv3',
install_requires=install_requirements,
tests_require=test_requirements,
extras_require=extras_require,
python_requires='>=3.6',
entry_points={
'console_scripts': [
'hepdata-cli = hepdata_cli.cli:cli',
],
},
)