1 | import os |
---|
2 | from setuptools import setup, find_packages |
---|
3 | |
---|
4 | version = '0.1dev' |
---|
5 | |
---|
6 | install_requires =[ |
---|
7 | 'setuptools', |
---|
8 | 'multi-mechanize', |
---|
9 | 'numpy', |
---|
10 | 'matplotlib', |
---|
11 | ], |
---|
12 | |
---|
13 | tests_require = [ |
---|
14 | 'pytest', |
---|
15 | 'pytest-xdist', |
---|
16 | 'pytest-cov', |
---|
17 | ] |
---|
18 | |
---|
19 | docs_require = [ |
---|
20 | 'Sphinx', |
---|
21 | 'collective.recipe.sphinxbuilder', |
---|
22 | 'docutils', |
---|
23 | 'roman', |
---|
24 | 'repoze.sphinx.autointerface', |
---|
25 | ] |
---|
26 | |
---|
27 | def read(*rnames): |
---|
28 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
29 | |
---|
30 | long_description = ( |
---|
31 | read('README.rst') |
---|
32 | + '\n\n' |
---|
33 | + read('CHANGES.rst') |
---|
34 | + '\n\n' |
---|
35 | + 'Download\n' |
---|
36 | + '********\n' |
---|
37 | ) |
---|
38 | |
---|
39 | setup(name = 'waeup.stress', |
---|
40 | version = version, |
---|
41 | description = "Stresstests for WAeUP Kofa", |
---|
42 | long_description = long_description, |
---|
43 | |
---|
44 | keywords = "waeup kofa stress test", |
---|
45 | # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
---|
46 | classifiers = [ |
---|
47 | 'Development Status :: 3 - Alpha', |
---|
48 | 'Environment :: Web Environment', |
---|
49 | 'Intended Audience :: Education', |
---|
50 | 'License :: OSI Approved :: GNU General Public License (GPL)', |
---|
51 | 'Programming Language :: Python', |
---|
52 | 'Operating System :: POSIX', |
---|
53 | 'Operating System :: POSIX :: Linux', |
---|
54 | 'Framework :: Zope3', |
---|
55 | 'Topic :: Education', |
---|
56 | 'Topic :: Internet :: WWW/HTTP', |
---|
57 | ], |
---|
58 | author = "The WAeUP team.", |
---|
59 | author_email = "", |
---|
60 | url = "http://www.waeup.org/", |
---|
61 | license = "GPL", |
---|
62 | package_dir = {'': 'src'}, |
---|
63 | packages= find_packages('src'), |
---|
64 | namespace_packages = ['waeup',], |
---|
65 | include_package_data = True, |
---|
66 | zip_safe = False, |
---|
67 | install_requires = install_requires, |
---|
68 | tests_require = tests_require, |
---|
69 | extras_require = dict( |
---|
70 | test = tests_require, |
---|
71 | docs = docs_require, |
---|
72 | beaker = beaker_require, |
---|
73 | ), |
---|
74 | entry_points=""" |
---|
75 | # Add entry points here |
---|
76 | [console_scripts] |
---|
77 | bootstrap_instances = waeup.stress:bootstrap |
---|
78 | stress-run = waeup.stress.run:main |
---|
79 | """, |
---|
80 | ) |
---|