-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (50 loc) · 1.71 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import sys
from setuptools import setup, find_packages
TESTING = any(x in sys.argv for x in ["test", "pytest"])
requirements = ['PyTango',
'futures ; python_version < "3"',
'gevent']
setup_requirements = []
if TESTING:
setup_requirements += ['pytest-runner']
test_requirements = ['pytest', 'pytest-cov']
extras_requirements = {'server': ['gevent']}
setup(
author="Jairo Moldes, Tiago Coutinho",
author_email='jmoldes@cells.es, tcoutinho@cells.es',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="Python Tango Database server",
entry_points={
'console_scripts': [
'DataBaseds = tangodb:main',
]
},
install_requires=requirements,
license="GPLv3",
long_description="A device server written in python that mimics the official Tango DataBaseds",
keywords='tango, pytango, database, device server',
name='pytango-db',
packages=find_packages(),
package_data={'': ['*.sql']},
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
extras_require=extras_requirements,
url='http://github.com/ALBA-Synchrotron/pytango-db',
version='0.2.0',
zip_safe=True
)