forked from labgrid-project/labgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·65 lines (63 loc) · 1.89 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
#!/usr/bin/env python3
import fastentrypoints
from setuptools import setup
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.4',
extras_require={
'onewire': ['onewire>=0.2'],
'coordinator': ['crossbar', 'idna==2.5'],
'snmp': ['pysnmp', 'pysnmp-mibs'],
'modbus': ['pyModbusTCP'],
},
setup_requires=['pytest-runner', 'setuptools_scm'],
tests_require=['pytest-mock', ],
install_requires=[
'attrs>=16.3.0,<17.3.0',
'jinja2',
'pexpect',
'pyserial>=3.3',
'pytest',
'pyyaml',
'pyudev',
'requests',
'xmodem>=0.4.5',
'autobahn'
],
packages=[
'labgrid',
'labgrid.autoinstall',
'labgrid.driver',
'labgrid.driver.power',
'labgrid.external',
'labgrid.protocol',
'labgrid.provider',
'labgrid.pytestplugin',
'labgrid.remote',
'labgrid.resource',
'labgrid.strategy',
'labgrid.util',
],
# 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',
]
},
# custom PyPI classifier for pytest plugins
classifiers=["Framework :: Pytest", ],
)