forked from CleanCut/green
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (77 loc) · 3.41 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
from setuptools import setup, find_packages
import os
import sys
with open(os.path.join(os.path.dirname(__file__), 'green', 'VERSION')) as version_file:
version = version_file.read().strip()
with open('README-pypi.rst') as readme_file:
long_description = readme_file.read()
# Calculate dependencies
dependencies = [
'colorama',
'python-termstyle',
'unidecode',
]
if sys.version_info[0] == 2:
dependencies.append('mock')
# Actual setup call
setup(
name = 'green',
packages = find_packages(),
package_data = {'green' : ['VERSION', 'shell_completion.sh']},
version = version,
install_requires = dependencies,
extras_require = {
':sys_platform=="win32"': ['colorama>=0.2.5'],
# shutil.get_terminal_size() introduced in Python 3.3
':python_version=="2.7"': ['backports.shutil_get_terminal_size>=1.0.0'],
# add here for PyPy3.3
':python_version=="3.3"': ['backports.shutil_get_terminal_size>=1.0.0'],
},
entry_points = {
'console_scripts' : [
'green = green:main',
'green%d = green:main' % sys.version_info[:1], # green2 or green3
'green%d.%d = green:main' % sys.version_info[:2], # green3.4 etc.
],
},
test_suite='green.test',
description = 'Green is a clean, colorful, fast python test runner.',
long_description = long_description,
author = 'Nathan Stocks',
author_email = '[email protected]',
license = 'MIT',
url = 'https://github.com/CleanCut/green',
download_url = 'https://github.com/CleanCut/green/tarball/' + version,
keywords = ['nose', 'nose2', 'trial', 'pytest', 'py.test', 'tox', 'green',
'tdd', 'test', 'tests', 'functional', 'system', 'unit', 'unittest',
'color', 'tabular', 'clean', 'red', 'rednose', 'regression', 'runner',
'integration','smoke', 'white', 'black', 'box', 'incremental', 'end',
'end-to-end', 'sanity', 'acceptance', 'load', 'stress', 'performance',
'usability', 'install', 'uninstall', 'recovery', 'security',
'comparison', 'alpha', 'beta', 'non-functional', 'destructive',
'accessibility', 'internationalization', 'i18n', 'localization', 'l10n',
'development', 'a/b', 'concurrent', 'conformance', 'verification',
'validation', 'quality', 'assurance', 'ad-hoc', 'agile', 'api',
'automated', 'all', 'pairs', 'pairwise', 'boundary', 'value', 'branch',
'browser', 'condition', 'coverage', 'dynamic', 'exploratory',
'equivalence', 'partitioning', 'fuzz', 'gui', 'glass', 'gorilla',
'interface', 'keyword', 'penetration', 'retesting', 'risk', 'based',
'scalability', 'soak', 'volume', 'vulnerability'],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Topic :: Utilities'],
)