[7541] | 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 | |
---|
[7552] | 16 | from setuptools import setup, find_packages |
---|
[7541] | 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__ |
---|
[7552] | 26 | PACKAGES = find_packages(exclude=['ez_setup']) |
---|
[7541] | 27 | DESCRIPTION = 'Multi-Mechanize - Performance Test Framework' |
---|
| 28 | URL = 'http://testutils.org/multimechanize' |
---|
| 29 | LICENSE = 'GNU LGPLv3' |
---|
| 30 | LONG_DESCRIPTION = open(os.path.join(this_dir, 'README.rst')).read() |
---|
| 31 | REQUIREMENTS = filter(None, open(os.path.join(this_dir, 'requirements.txt')).read().splitlines()) |
---|
| 32 | AUTHOR = 'Corey Goldberg' |
---|
| 33 | AUTHOR_EMAIL = 'corey@goldb.org' |
---|
| 34 | KEYWORDS = ('performance scalability load test testing benchmark').split(' ') |
---|
| 35 | CLASSIFIERS = [ |
---|
| 36 | 'Development Status :: 4 - Beta', |
---|
| 37 | 'Environment :: Console', |
---|
| 38 | 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', |
---|
| 39 | 'Operating System :: OS Independent', |
---|
| 40 | 'Programming Language :: Python', |
---|
| 41 | 'Programming Language :: Python :: 2.6', |
---|
| 42 | 'Programming Language :: Python :: 2.7', |
---|
| 43 | 'Topic :: Software Development :: Testing', |
---|
| 44 | 'Topic :: Software Development :: Testing :: Traffic Generation', |
---|
| 45 | 'Topic :: System :: Benchmark', |
---|
| 46 | ] |
---|
[7552] | 47 | CONSOLE_SCRIPTS = [ |
---|
| 48 | 'multimech-run = multimechanize.utilities.run:main', |
---|
| 49 | 'multimech-newproject = multimechanize.utilities.newproject:main', |
---|
| 50 | 'multimech-gridgui = multimechanize.utilities.gridgui:main', |
---|
| 51 | ] |
---|
[7541] | 52 | |
---|
[7552] | 53 | |
---|
[7541] | 54 | params = dict( |
---|
| 55 | name=NAME, |
---|
| 56 | version=VERSION, |
---|
| 57 | packages=PACKAGES, |
---|
| 58 | install_requires = REQUIREMENTS, |
---|
| 59 | |
---|
| 60 | # metadata for upload to PyPI |
---|
| 61 | author=AUTHOR, |
---|
| 62 | author_email=AUTHOR_EMAIL, |
---|
| 63 | description=DESCRIPTION, |
---|
| 64 | long_description=LONG_DESCRIPTION, |
---|
| 65 | keywords=KEYWORDS, |
---|
| 66 | url=URL, |
---|
| 67 | classifiers=CLASSIFIERS, |
---|
[7552] | 68 | entry_points = { 'console_scripts': CONSOLE_SCRIPTS } |
---|
[7541] | 69 | ) |
---|
| 70 | |
---|
| 71 | setup(**params) |
---|