Skip to content
Newer
Older
100644 71 lines (57 sloc) 1.93 KB
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
1 #!/usr/bin/env python
2 #
3 # Copyright (c) 2010-2012 Corey Goldberg (corey@goldb.org)
6e8fe66 @cgoldberg updated headers on source files
authored Jan 23, 2012
4 # License: GNU LGPLv3
a8d4a55 @cgoldberg trim whitespace and convert line endings in source
authored Jan 23, 2012
5 #
6e8fe66 @cgoldberg updated headers on source files
authored Jan 24, 2012
6 # This file is part of Multi-Mechanize | Performance Test Framework
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
7 #
8
9
10 """
11 setup.py for multimechanize
12 """
13
14 import os
15
ea172ab moved utility scripts to their own namespace & added entry points in …
Ali-Akber Saifee authored Jan 29, 2012
16 from setuptools import setup, find_packages
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
17
18 from multimechanize import __version__
19
20
21 this_dir = os.path.abspath(os.path.dirname(__file__))
22
23
83a034c @cgoldberg changed pypi namespace to include dash, updated docs
authored Feb 2, 2012
24 NAME = 'multi-mechanize'
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
25 VERSION = __version__
ea172ab moved utility scripts to their own namespace & added entry points in …
Ali-Akber Saifee authored Jan 29, 2012
26 PACKAGES = find_packages(exclude=['ez_setup'])
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
27 DESCRIPTION = 'Multi-Mechanize - Performance Test Framework'
83a034c @cgoldberg changed pypi namespace to include dash, updated docs
authored Feb 2, 2012
28 URL = 'http://multimechanize.com'
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
29 LICENSE = 'GNU LGPLv3'
6e8fe66 @cgoldberg updated headers on source files
authored Jan 24, 2012
30 LONG_DESCRIPTION = open(os.path.join(this_dir, 'README.rst')).read()
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
31 REQUIREMENTS = filter(None, open(os.path.join(this_dir, 'requirements.txt')).read().splitlines())
32 AUTHOR = 'Corey Goldberg'
33 AUTHOR_EMAIL = 'corey@goldb.org'
83a034c @cgoldberg changed pypi namespace to include dash, updated docs
authored Feb 2, 2012
34 KEYWORDS = ('performance', 'scalability', 'load', 'test', 'testing', 'benchmark')
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
35 CLASSIFIERS = [
6e8fe66 @cgoldberg updated headers on source files
authored Jan 24, 2012
36 'Development Status :: 4 - Beta',
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
37 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
38 'Operating System :: OS Independent',
39 'Programming Language :: Python',
40 'Programming Language :: Python :: 2.6',
41 'Programming Language :: Python :: 2.7',
42 'Topic :: Software Development :: Testing',
43 'Topic :: Software Development :: Testing :: Traffic Generation',
44 'Topic :: System :: Benchmark',
45 ]
4bd1469 @cgoldberg cleaned up setup
authored Jan 29, 2012
46 CONSOLE_SCRIPTS = [
47 'multimech-run = multimechanize.utilities.run:main',
48 'multimech-newproject = multimechanize.utilities.newproject:main',
49 'multimech-gridgui = multimechanize.utilities.gridgui:main',
50 ]
51
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
52
53 params = dict(
54 name=NAME,
55 version=VERSION,
56 packages=PACKAGES,
57 install_requires = REQUIREMENTS,
a8d4a55 @cgoldberg trim whitespace and convert line endings in source
authored Jan 23, 2012
58
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
59 # metadata for upload to PyPI
60 author=AUTHOR,
61 author_email=AUTHOR_EMAIL,
62 description=DESCRIPTION,
63 long_description=LONG_DESCRIPTION,
64 keywords=KEYWORDS,
65 url=URL,
66 classifiers=CLASSIFIERS,
4bd1469 @cgoldberg cleaned up setup
authored Jan 29, 2012
67 entry_points = { 'console_scripts': CONSOLE_SCRIPTS }
20bc439 @cgoldberg added setup.py installer
authored Jan 22, 2012
68 )
69
70 setup(**params)
Something went wrong with that request. Please try again.