forked from DVS-devtools/Reding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (44 loc) · 1.69 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
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
readme = open(os.path.join(os.path.dirname(__file__), 'README.md'),'r').readlines()
description = readme[6]
long_description = ''.join(readme)
tests_require = open(os.path.join(os.path.dirname(__file__), 'test_requirements.txt')).read()
install_requires = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read()
setup(
name='Reding',
version='2.0',
author='Giorgio Salluzzo',
author_email='[email protected]',
url='http://buongiornomip.github.com/Reding/',
maintainer='Giorgio Salluzzo',
maintainer_email='[email protected]',
description=description,
long_description=long_description,
install_requires=install_requires,
extras_require={
'tests': tests_require,
},
test_suite='runtests.runtests',
packages=find_packages(exclude=('tests', )),
license='The MIT License (MIT)',
keywords='Rating REST Redis Flask',
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
),
)