forked from ceph/teuthology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
120 lines (115 loc) · 4.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
from setuptools import setup, find_packages
import re
module_file = open("teuthology/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()
setup(
name='teuthology',
version=metadata['version'],
packages=find_packages(),
package_data={
'teuthology.task': ['valgrind.supp', 'adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
'teuthology.task': ['valgrind.supp', 'adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
'teuthology.openstack': [
'archive-key',
'archive-key.pub',
'openstack-centos-6.5-user-data.txt',
'openstack-centos-7.0-user-data.txt',
'openstack-centos-7.1-user-data.txt',
'openstack-centos-7.2-user-data.txt',
'openstack-debian-8.0-user-data.txt',
'openstack-opensuse-42.1-user-data.txt',
'openstack-teuthology.cron',
'openstack-teuthology.init',
'openstack-ubuntu-12.04-user-data.txt',
'openstack-ubuntu-14.04-user-data.txt',
'openstack-user-data.txt',
'openstack.yaml',
'setup-openstack.sh'
],
},
author='Inktank Storage, Inc.',
author_email='[email protected]',
description='Ceph test framework',
license='MIT',
keywords='teuthology test ceph cluster',
url='https://github.com/ceph/teuthology',
long_description=long_description,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Filesystems',
],
install_requires=['pip-tools',
'tox',
'gevent',
# For teuthology-coverage
'MySQL-python == 1.2.3',
'PyYAML',
'argparse >= 1.2.1',
'beanstalkc >= 0.2.0',
'boto >= 2.0b4',
'bunch >= 1.0.0',
'configobj',
'six >= 1.9', # python-openstackclient won't work properly with less
'httplib2',
'paramiko',
'pexpect',
'nose', # for qa/tasks/rgw_multisite_tests.py',
'requests != 2.13.0',
'raven',
'web.py',
'docopt',
'psutil >= 2.1.0',
'configparser',
'ansible>=2.0',
'pyopenssl>=0.13',
'ndg-httpsclient',
'pyasn1',
# python-novaclient is specified here, even though it is
# redundant, because python-openstackclient requires
# Babel, and installs 2.3.3, which is forbidden by
# python-novaclient 4.0.0
'python-novaclient',
'python-openstackclient',
# with openstacklient >= 2.1.0, neutronclient no longer is
# a dependency but we need it anyway.
'python-neutronclient',
'prettytable',
'python-dateutil',
'manhole',
'apache-libcloud',
# For apache-libcloud when using python < 2.7.9
'backports.ssl_match_hostname',
],
# to find the code associated with entry point
# A.B:foo first cd into directory A, open file B
# and find sub foo
entry_points={
'console_scripts': [
'teuthology = scripts.run:main',
'teuthology-openstack = scripts.openstack:main',
'teuthology-nuke = scripts.nuke:main',
'teuthology-suite = scripts.suite:main',
'teuthology-ls = scripts.ls:main',
'teuthology-worker = scripts.worker:main',
'teuthology-lock = scripts.lock:main',
'teuthology-schedule = scripts.schedule:main',
'teuthology-updatekeys = scripts.updatekeys:main',
'teuthology-update-inventory = scripts.update_inventory:main',
'teuthology-coverage = scripts.coverage:main',
'teuthology-results = scripts.results:main',
'teuthology-report = scripts.report:main',
'teuthology-kill = scripts.kill:main',
'teuthology-queue = scripts.queue:main',
'teuthology-prune-logs = scripts.prune_logs:main',
'teuthology-describe-tests = scripts.describe_tests:main',
],
},
)