/
setup.py
70 lines (63 loc) · 1.7 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
#!/usr/bin/env python
"""
Sentry
~~~~~~
Sentry is a real-time logging platform.
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
install_requires = [
'Flask',
'Flask-Babel',
'redis',
# python-daemon and eventlet are required to run the Sentry indepenent webserver
'python-daemon>=1.6',
'eventlet>=0.9.15',
]
try:
__import__('uuid')
except ImportError:
# uuid ensures compatibility with older versions of Python
install_requires.append('uuid')
tests_require = [
'Django>=1.2,<1.4',
'django-celery',
'logbook',
'nose',
'unittest2',
]
setup(
name='sentry',
version='2.0.0-alpha',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/dcramer/django-sentry',
description = 'Exception Logging to a Database in Django',
long_description=__doc__,
packages=find_packages(exclude="example_project"),
zip_safe=False,
license='BSD',
install_requires=install_requires,
dependency_links=[],
tests_require=tests_require,
extras_require={'test': tests_require},
test_suite='nose.collector',
include_package_data=True,
entry_points = {
'console_scripts': [
'sentry = sentry.scripts.runner:main',
],
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)