/
setup.py
66 lines (54 loc) · 1.74 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
#!/usr/bin/env python
#
# Copyright (c) 2010-2012 Corey Goldberg (corey@goldb.org)
# License: GNU LGPLv3
#
# This file is part of Multi-Mechanize | Performance Test Framework
#
"""
setup.py for multimechanize
"""
import os
from setuptools import setup
from multimechanize import __version__
this_dir = os.path.abspath(os.path.dirname(__file__))
NAME = 'multimechanize'
VERSION = __version__
PACKAGES = ['multimechanize',]
SCRIPTS = ['multimech-run', 'multimech-newproject']
DESCRIPTION = 'Multi-Mechanize - Performance Test Framework'
URL = 'http://testutils.org/multimechanize'
LICENSE = 'GNU LGPLv3'
LONG_DESCRIPTION = open(os.path.join(this_dir, 'README.rst')).read()
REQUIREMENTS = filter(None, open(os.path.join(this_dir, 'requirements.txt')).read().splitlines())
AUTHOR = 'Corey Goldberg'
AUTHOR_EMAIL = 'corey@goldb.org'
KEYWORDS = ('performance scalability load test testing benchmark').split(' ')
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Testing :: Traffic Generation',
'Topic :: System :: Benchmark',
]
params = dict(
name=NAME,
version=VERSION,
packages=PACKAGES,
scripts=SCRIPTS,
install_requires = REQUIREMENTS,
# metadata for upload to PyPI
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
keywords=KEYWORDS,
url=URL,
classifiers=CLASSIFIERS,
)
setup(**params)