1 | #!/usr/bin/env python |
---|
2 | # |
---|
3 | # Copyright (c) 2010-2012 Corey Goldberg (corey@goldb.org) |
---|
4 | # License: GNU LGPLv3 |
---|
5 | # |
---|
6 | # This file is part of Multi-Mechanize | Performance Test Framework |
---|
7 | # |
---|
8 | |
---|
9 | |
---|
10 | """ |
---|
11 | setup.py for multimechanize |
---|
12 | """ |
---|
13 | |
---|
14 | import os |
---|
15 | |
---|
16 | from setuptools import setup |
---|
17 | |
---|
18 | from multimechanize import __version__ |
---|
19 | |
---|
20 | |
---|
21 | this_dir = os.path.abspath(os.path.dirname(__file__)) |
---|
22 | |
---|
23 | |
---|
24 | NAME = 'multimechanize' |
---|
25 | VERSION = __version__ |
---|
26 | PACKAGES = ['multimechanize',] |
---|
27 | SCRIPTS = ['multimech-run', 'multimech-newproject'] |
---|
28 | DESCRIPTION = 'Multi-Mechanize - Performance Test Framework' |
---|
29 | URL = 'http://testutils.org/multimechanize' |
---|
30 | LICENSE = 'GNU LGPLv3' |
---|
31 | LONG_DESCRIPTION = open(os.path.join(this_dir, 'README.rst')).read() |
---|
32 | REQUIREMENTS = filter(None, open(os.path.join(this_dir, 'requirements.txt')).read().splitlines()) |
---|
33 | AUTHOR = 'Corey Goldberg' |
---|
34 | AUTHOR_EMAIL = 'corey@goldb.org' |
---|
35 | KEYWORDS = ('performance scalability load test testing benchmark').split(' ') |
---|
36 | CLASSIFIERS = [ |
---|
37 | 'Development Status :: 4 - Beta', |
---|
38 | 'Environment :: Console', |
---|
39 | 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', |
---|
40 | 'Operating System :: OS Independent', |
---|
41 | 'Programming Language :: Python', |
---|
42 | 'Programming Language :: Python :: 2.6', |
---|
43 | 'Programming Language :: Python :: 2.7', |
---|
44 | 'Topic :: Software Development :: Testing', |
---|
45 | 'Topic :: Software Development :: Testing :: Traffic Generation', |
---|
46 | 'Topic :: System :: Benchmark', |
---|
47 | ] |
---|
48 | |
---|
49 | params = dict( |
---|
50 | name=NAME, |
---|
51 | version=VERSION, |
---|
52 | packages=PACKAGES, |
---|
53 | scripts=SCRIPTS, |
---|
54 | install_requires = REQUIREMENTS, |
---|
55 | |
---|
56 | # metadata for upload to PyPI |
---|
57 | author=AUTHOR, |
---|
58 | author_email=AUTHOR_EMAIL, |
---|
59 | description=DESCRIPTION, |
---|
60 | long_description=LONG_DESCRIPTION, |
---|
61 | keywords=KEYWORDS, |
---|
62 | url=URL, |
---|
63 | classifiers=CLASSIFIERS, |
---|
64 | ) |
---|
65 | |
---|
66 | setup(**params) |
---|