-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·64 lines (58 loc) · 1.98 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
#!/usr/bin/env python
import sys
from setuptools import setup
from setuptools import find_packages
# The version is updated automatically with bumpversion
# Do not update manually
__version__ = '2.5.0'
requirements = ['pytango', 'click']
setup_requirements = []
TESTING = any(x in sys.argv for x in ["test", "pytest"])
if TESTING:
setup_requirements += ['pytest-runner']
test_requirements = ['pytest', 'pytest-cov']
SPHINX = any(x in sys.argv for x in ["build_sphinx"])
if SPHINX:
setup_requirements += ['sphinx', 'sphinx-argparse', 'sphinx_rtd_theme']
setup(
name="pycats",
description='Library for the CATS Irelec sample changer.',
version=__version__,
author="Guifre Cuni",
author_email="[email protected]",
url="https://github.com/ALBA-Synchrotron/PyCATS",
packages=find_packages(),
# package_data={'': package_list},
include_package_data=False,
license="GPLv3",
platforms='all',
long_description="""
This library implements the API from the CATS Irelec server.
The library provides control and monitor of the CATS sample changer.
""",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 3.5',
'Topic :: Communications',
'Topic :: Software Development :: Libraries',
],
entry_points={
'console_scripts': [
'pyCATS = pycats.tango.server:run',
],
'gui_scripts': [
'cats-monitor = pycats.gui.tango_monitor:run [gui]'
]
},
install_requires=requirements,
setup_requires=setup_requirements,
tests_require=test_requirements,
extras_require={"gui": ['PyQt5']},
python_requires='>=3.5',
)