-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
74 lines (64 loc) · 1.87 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
# -*- coding: utf-8 -*-
from setuptools import setup
def readme():
with open('README.md', 'r') as f:
return f.read()
install_requires = [
'numpy>=1.0,<2.0',
'pandas>=1.0,<2.0',
'openpyxl>3.0,<3.1',
'tzlocal>=4.0,<5.0',
'requests>=2.0,<3.0',
'simplejson>=3.0,<4.0',
'tqdm>=4.0,<5.0',
'tables>=3.0,<4.0',
'protobuf>=3.0,<4.0',
]
extra_require = {
'test': ['pytest'],
'doc': ['sphinx', 'pydata_sphinx_theme'],
}
def set_entry_points():
r = {
'console_scripts': [
'pyarchappl-get=archappl.scripts.get:main',
'pyarchappl-inspect=archappl.scripts.inspect:main',
]
}
return r
setup(
name='pyarchappl',
version='0.10.7',
description='Python interface to Archiver Appliance',
long_description=readme(),
long_description_content_type='text/markdown',
url="https://github.com/archman/pyarchappl",
author='Tong Zhang',
author_email='zhangt@frib.msu.edu',
packages=[
'archappl.admin', 'archappl.data', 'archappl.data.pb',
'archappl.client', 'archappl.contrib', 'archappl.config',
'archappl.scripts', 'archappl'
],
package_dir={
'archappl.admin': 'main/mgmt',
'archappl.data': 'main/data',
'archappl.data.pb': 'main/data/pb',
'archappl.client': 'main/client',
'archappl.contrib': 'main/contrib',
'archappl.config': 'main/config',
'archappl.scripts': 'main/scripts',
'archappl': 'main'
},
include_package_data=True,
entry_points=set_entry_points(),
install_requires=install_requires,
extra_require=extra_require,
license='GPL3+',
keywords="Archiver EPICS CA PVA",
classifiers=[
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)