-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
56 lines (51 loc) · 2.24 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
from setuptools import setup
version = '0.1.3'
long_description = "Gevent-supporting multiprocess plugin for Nose testing framework.\n" + \
"Normal multiprocess plugin relies on specific parts of multiprocess module that break under gevent. "+\
"This specifically applies to multiprocessing.Queue objects that are used to communicate the tests and results "+\
"between master thread and worker threads.\n"+\
"This plugin switches the communication to JSON-RPC requests over HTTP - a medium and the protocol that should "+\
"work under gevent-patched sockets."
project_home = 'http://github.com/dvdotsenko/nose_gevent_multiprocess'
if __name__ == "__main__":
setup(
name='nose-gevented-multiprocess',
description='Gevent-supporting multiprocess plugin for Nose testing '
'framework',
long_description=long_description,
version=version,
author='Daniel Dotsenko',
author_email='ddotsenko@shift.com',
url=project_home,
download_url=project_home+'/tarball/stable',
classifiers=[
"Development Status :: 4 - Beta",
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public '
'License (LGPL)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
'Topic :: Software Development :: Testing'
],
keywords=['nose', 'multiprocess', 'gevent'],
license='GNU LGPL',
# py_modules=['nose_gevented_multiprocess'],
packages=['nose_gevented_multiprocess'],
install_requires=['nose', 'requests', 'gevent', 'jsonrpcparts'],
entry_points={
'nose.plugins.0.10': [
'gevented_multiprocess = '
'nose_gevented_multiprocess:GeventedMultiProcess'
],
'console_scripts': [
'nose_gevented_multiprocess_runner = '
'nose_gevented_multiprocess:individual_client_starter'
]
}
)
# Next:
# python setup.py register
# python setup.py sdist upload