forked from cgoldberg/multi-mechanize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (57 loc) · 1.93 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
#!/usr/bin/env python
#
# Copyright (c) 2010-2012 Corey Goldberg ([email protected])
# License: GNU LGPLv3
#
# This file is part of Multi-Mechanize | Performance Test Framework
#
"""
setup.py for multimechanize
"""
import os
from setuptools import setup, find_packages
from multimechanize import __version__
this_dir = os.path.abspath(os.path.dirname(__file__))
NAME = 'multi-mechanize'
VERSION = __version__
PACKAGES = find_packages(exclude=['ez_setup'])
DESCRIPTION = 'Multi-Mechanize - Performance Test Framework'
URL = 'http://multimechanize.com'
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 = '[email protected]'
KEYWORDS = ('performance', 'scalability', 'load', 'test', 'testing', 'benchmark')
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'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',
]
CONSOLE_SCRIPTS = [
'multimech-run = multimechanize.utilities.run:main',
'multimech-newproject = multimechanize.utilities.newproject:main',
'multimech-gridgui = multimechanize.utilities.gridgui:main',
]
params = dict(
name=NAME,
version=VERSION,
packages=PACKAGES,
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,
entry_points = { 'console_scripts': CONSOLE_SCRIPTS }
)
setup(**params)