forked from mindflayer/python-mocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (43 loc) · 1.65 KB
/
setup.py
File metadata and controls
46 lines (43 loc) · 1.65 KB
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
from setuptools import setup, find_packages, os
# Hack to prevent stupid "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when running `python
# setup.py test` (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
for m in ('multiprocessing', 'billiard'):
try:
__import__(m)
except ImportError:
pass
dev_requires = []
install_requires = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read()
tests_require = open(os.path.join(os.path.dirname(__file__), 'test_requirements.txt')).read()
setup(
name='mocket',
version='1.3.1',
author='Andrea de Marco, Giorgio Salluzzo',
author_email='24erre@gmail.com, giorgio.salluzzo@gmail.com',
url='https://github.com/mocketize/python-mocket',
description='Socket Mock Framework',
long_description=open('README.rst').read(),
packages=find_packages(exclude=('tests', )),
install_requires=install_requires,
extras_require={
'tests': tests_require,
'dev': dev_requires,
},
test_suite='runtests.runtests',
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development',
'Topic :: Software Development :: Testing',
'License :: OSI Approved :: BSD License',
],
)