-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
executable file
·74 lines (68 loc) · 2.19 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2012, GoodData(R) Corporation. All rights reserved
import os
import sys
from setuptools import setup
# This package is named gdc-smoker on Pypi (register or upload actions)
if 'upload' in sys.argv or 'register' in sys.argv:
name = 'gdc-smoker'
else:
name = 'smoker'
if sys.version_info[0] == 3:
req_path = 'py3_requirements.txt'
else:
req_path = 'py2_requirements.txt'
with open(req_path) as f:
requirements = f.read().splitlines()
# Parameters for build
params = {
'name': name,
'version': '2.2.0',
'packages': [
'smoker',
'smoker.server',
'smoker.server.plugins',
'smoker.client',
'smoker.client.out_junit',
'smoker.client.plugins',
'smoker.logger',
'smoker.util'
],
'scripts': [
'bin/smokerd.py',
'bin/smokercli.py',
'bin/check_smoker_plugin.py',
],
'url': 'https://github.com/gooddata/smoker',
'download_url': 'https://github.com/gooddata/smoker',
'license': 'BSD',
'author': 'GoodData Corporation',
'author_email': '[email protected]',
'maintainer': 'Filip Pytloun',
'maintainer_email': '[email protected]',
'description': 'Smoke Testing Framework',
'long_description': open('smoker/DESCRIPTION.md').read(),
'classifiers': [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Testing',
'Topic :: System :: Monitoring',
],
'platforms': ['POSIX'],
'provides': ['smoker'],
'install_requires': requirements,
'test_suite': 'tests',
'package_data': {'smoker': ['DESCRIPTION.md']}
}
setup(**params)