forked from SiLab-Bonn/online_monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (34 loc) · 1.65 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages # This setup relies on setuptools since distutils is insufficient and badly hacked code
version = '0.2.3'
author = 'David-Leon Pohl'
author_email = 'pohl@physik.uni-bonn.de'
# requirements for core functionality from requirements.txt
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
setup(
name='online_monitor',
version=version,
description='A generic online monitor showing real-time plots from multiple independent data acquisition systems.',
url='https://github.com/SiLab-Bonn/online_monitor',
license='MIT License',
long_description='',
author=author,
maintainer=author,
author_email=author_email,
maintainer_email=author_email,
install_requires=install_requires,
packages=find_packages(),
include_package_data=True, # Accept all data files and directories matched by MANIFEST.in or found in source control
keywords=['online monitor', 'real time', 'plots'],
entry_points={
'console_scripts': [
'online_monitor = online_monitor.OnlineMonitor:main', # starts the online monitor application; blocking until app exit
'start_converter = online_monitor.start_converter:main', # starts the converters; blocking until CRTL-C
'start_producer_sim = online_monitor.start_producer_sim:main', # starts the producer simulatiion; blocking until CRTL-C
'start_online_monitor = online_monitor.start_online_monitor:main', # starts the online monitor application + covnerters + producer simulation defined on the configuration.yaml
]
},
platforms='any'
)