forked from labgrid-project/labgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·79 lines (75 loc) · 2.34 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
#!/usr/bin/env python3
from setuptools import setup
import fastentrypoints # noqa: F401 # pylint: disable=unused-import
setup(
name='labgrid',
description='labgrid: lab hardware and software control layer',
author='Rouven Czerwinski and Jan Luebbe',
author_email='[email protected]',
license='LGPL-2.1',
use_scm_version=True,
url='https://github.com/labgrid-project',
data_files=[('share/man/1', ['man/labgrid-client.1',
'man/labgrid-exporter.1',
'man/labgrid-device-config.1'])],
python_requires='>=3.5',
extras_require={
'onewire': ['onewire>=0.2'],
'snmp': ['pysnmp', 'pysnmp-mibs'],
'modbus': ['pyModbusTCP'],
'graph': ['graphviz'],
},
setup_requires=['setuptools_scm'],
install_requires=[
'attrs>=19.2.0',
'ansicolors',
'jinja2',
'packaging',
'pexpect',
'pyserial>=3.3',
'pytest>=4.5',
'pyyaml',
'pyudev',
'requests',
'xmodem>=0.4.5',
'autobahn',
],
packages=[
'labgrid',
'labgrid.autoinstall',
'labgrid.driver',
'labgrid.driver.power',
'labgrid.driver.usbtmc',
'labgrid.protocol',
'labgrid.provider',
'labgrid.pytestplugin',
'labgrid.remote',
'labgrid.resource',
'labgrid.strategy',
'labgrid.util',
'labgrid.util.agents',
],
# the following makes a plugin available to pytest
entry_points={
'pytest11': [
'labgrid = labgrid.pytestplugin',
],
'console_scripts': [
'labgrid-client = labgrid.remote.client:main',
'labgrid-exporter = labgrid.remote.exporter:main',
'labgrid-autoinstall = labgrid.autoinstall.main:main',
'labgrid-suggest = labgrid.resource.suggest:main',
]
},
# custom PyPI classifiers
classifiers=[
"Topic :: Software Development :: Testing",
"Framework :: Pytest",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)