-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
68 lines (59 loc) · 1.5 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
#
# Copyright 2017 Sangoma Technologies Inc.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Original Authors:
# Tyler Goodlet <tgoodlet@gmail.com>
# Simon Gomizelj <simon@vodik.xyz>
#
import sys
import setuptools
from setuptools.command.test import test as TestCommand
install_requires=[
'SQLAlchemy',
'cached-property',
'colorlog',
'contextlib2',
'docker',
'paramiko',
'plumbum',
'pyroute2',
'pytest',
'python-etcd',
'pyyaml',
'rpyc',
'ruamel.yaml',
'execnet',
]
pytest_plugins = [
'map=pytest_lab.map',
'roles=pytest_lab.roles',
'_storage=pytest_lab.storage',
'logwatch=pytest_lab.logwatch',
'log=pytest_lab.log',
'network=pytest_lab.network',
'runnerctl=pytest_lab.runnerctl',
'rpc=pytest_lab.rpc',
'api=pytest_lab.api',
'docker=pytest_lab.docker',
'locker=pytest_lab.locker',
'data=pytest_lab.data',
]
try:
import ipaddress
except ImportError:
install_requires.append('ipaddress')
if sys.version_info < (3, 0):
install_requires.append('future')
pytest_plugins.append('futurize=pytest_lab.futurize')
setuptools.setup(
name='pytestlab',
version='1.0.4',
packages=setuptools.find_packages(exclude=('tests',)),
install_requires=install_requires,
tests_require=['pytest'],
entry_points={'pytest11': pytest_plugins}
)