-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
84 lines (79 loc) · 2.39 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
import sys
from setuptools import setup, find_packages
def get_version(pkg):
version = '2.0.0'
for arg in sys.argv:
if arg.startswith('--version'):
version = arg.split('=')[1]
sys.argv.remove(arg)
return version
setup(
name='ami',
version=get_version('ami'),
description='LCLS analysis monitoring',
long_description='The package used at LCLS-II for online analysis monitoring',
author='Daniel Damiani',
author_email='[email protected]',
url='https://confluence.slac.stanford.edu/display/PSDMInternal/AMI+Replacement',
packages=find_packages(),
setup_requires=[
'pytest-runner'
],
install_requires=[
'dill',
'pyzmq',
'numpy',
'pyqtgraph',
'networkfox',
'ipython',
'qtpy',
'qasync>=0.27.1',
'amityping>=1.1.2',
'mypy',
'setproctitle',
'prometheus_client',
# 'lark'
],
tests_require=[
'pytest',
'pytest-asyncio',
'pytest-qt'
],
extras_require={
'pva': ['p4p'],
'hdf5': ['h5py'],
'arrow': ['pyarrow>=0.17'],
'lcls': ['psana', 'h5py', 'p4p'],
'console': ['qtconsole']
},
entry_points={
'console_scripts': [
'ami-worker = ami.worker:main',
'ami-manager = ami.manager:main',
'ami-node = ami.collector:node_main',
'ami-global = ami.collector:global_main',
'ami-client = ami.client:main',
'ami-console = ami.console:main',
'ami-local = ami.local:main',
'ami-remote = ami.remote:main',
'ami-export = ami.export:main',
'ami-syncer = ami.sync:main',
'ami-monitor = ami.monitor:main'
]
},
scripts=['ami/ami-mpi'],
classifiers=[
'Development Status :: 1 - Planning'
'Environment :: Other Environment',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Utilities',
],
)