forked from getsentry/freight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (61 loc) · 1.72 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
"""
DS
==
:copyright: (c) 2015 GetSentry LLC
:license: Apache 2.0, see LICENSE for more details.
"""
from __future__ import absolute_import
import os.path
from setuptools import setup, find_packages
# 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
ROOT = os.path.realpath(os.path.join(os.path.dirname(__file__)))
tests_require = [
'flake8>=2.1.0,<2.2.0',
'pytest>=2.5.0,<2.6.0',
'pytest-cov>=1.6,<1.7',
'pytest-timeout>=0.3,<0.4',
'pytest-xdist>=1.9,<1.10',
]
install_requires = [
'alembic>=0.7.4,<0.8.0',
'blinker>=1.3.0,<1.4.0',
'celery>=3.1.17,<3.2.0',
'flask>=0.10.1,<0.11.0',
'flask-sqlalchemy>=1.0,<1.1',
'flask-restful>=0.3.1,<0.4.0',
'psycopg2>=2.5.1,<2.6.0',
'raven>=5.1.1,<5.2.0',
'redis>=2.10.3,<2.11.0',
]
setup(
name='ds',
version='0.0.0',
author='David Cramer',
author_email='[email protected]',
url='https://github.com/getsentry/ds',
description='A deployment service',
long_description=open('README.md').read(),
packages=find_packages(exclude=['tests']),
zip_safe=False,
install_requires=install_requires,
extras_require={
'test': tests_require,
},
license='Apache 2.0',
include_package_data=True,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)