Skip to content
This repository
Newer
Older
100755 165 lines (143 sloc) 4.467 kb
8e3e088f » dcramer
2008-05-12 added distutils support
1 #!/usr/bin/env python
70d10d47 » dcramer
2011-12-23 New shiny doc
2 """
3 Sentry
4 ======
5
520761f6 » dcramer
2012-01-13 Update language in desc
6 Sentry is a realtime event logging and aggregation platform. It specializes
7 in monitoring errors and extracting all the information needed to do a proper
8 post-mortem without any of the hassle of the standard user feedback loop.
70d10d47 » dcramer
2011-12-23 New shiny doc
9
10 Sentry is a Server
11 ------------------
12
520761f6 » dcramer
2012-01-13 Update language in desc
13 The Sentry package, at its core, is just a simple server and web UI. It will
fec2c3ee » dcramer
2012-08-10 Update raven repository url
14 handle authentication clients (such as `Raven <https://github.com/getsentry/raven-python>`_)
70d10d47 » dcramer
2011-12-23 New shiny doc
15 and all of the logic behind storage and aggregation.
16
520761f6 » dcramer
2012-01-13 Update language in desc
17 That said, Sentry is not limited to Python. The primary implementation is in
70d10d47 » dcramer
2011-12-23 New shiny doc
18 Python, but it contains a full API for sending events from any language, in
19 any application.
c5090e12 » dcramer
2012-01-06 Added license header
20
09e51cd3 » mattrobenolt
2014-01-04 2014
21 :copyright: (c) 2011-2014 by the Sentry Team, see AUTHORS for more details.
c5090e12 » dcramer
2012-01-06 Added license header
22 :license: BSD, see LICENSE for more details.
70d10d47 » dcramer
2011-12-23 New shiny doc
23 """
d6493f3d » msabramo
2012-04-30 Hack to prevent stupid "TypeError: 'NoneType' object is not callable"
24
b19fc903 » dcramer
2011-12-28 No longer support Python 2.4
25 from setuptools import setup, find_packages
4358bb41 » dcramer
2013-06-26 pytest support for setup.py test
26 from setuptools.command.test import test as TestCommand
27 import sys
28
8e3e088f » dcramer
2008-05-12 added distutils support
29
652eed09 » dcramer
2013-06-09 Revert "Remove unused setup.py hack"
30 # Hack to prevent stupid "TypeError: 'NoneType' object is not callable" error
31 # in multiprocessing/util.py _exit_function when running `python
32 # setup.py test` (see
33 # http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
34 for m in ('multiprocessing', 'billiard'):
35 try:
36 __import__(m)
37 except ImportError:
38 pass
39
502ad547 » dcramer
2013-07-04 Only require pytest if we are actually running the test command
40 setup_requires = []
41
42 if 'test' in sys.argv:
43 setup_requires.append('pytest')
bdc573f4 » dcramer
2013-06-26 Add tests_require
44
07f613f9 » dcramer
2013-01-30 Extra dev and test requirements
45 dev_requires = [
74ac17bc » dcramer
2013-08-01 Add pre-commit hook
46 'flake8>=2.0,<2.1',
07f613f9 » dcramer
2013-01-30 Extra dev and test requirements
47 ]
48
931ef590 » dcramer
2011-03-25 Refactor tests so python setup.py test works correctly
49 tests_require = [
03310dee » mattrobenolt
2013-11-05 Add nodestore backend for Cassandra using casscache
50 'casscache',
51 'cqlsh',
634594d2 » dcramer
2014-05-20 New Search API
52 'elasticsearch',
322ba0af » dcramer
2012-12-21 Improve some of the frontend view tests
53 'exam>=0.5.1',
80c38620 » dcramer
2012-12-14 Switch to py.test
54 'eventlet',
b5815918 » dcramer
2013-10-20 Simple update test for SolrClient
55 'httpretty',
80c38620 » dcramer
2012-12-14 Switch to py.test
56 'pytest',
3903bf4a » dcramer
2013-05-14 Move pytest-cov to test deps
57 'pytest-cov>=1.4',
80c38620 » dcramer
2012-12-14 Switch to py.test
58 'pytest-django',
e04df8d1 » dcramer
2013-05-02 Add pytest-timeout at 5 seconds
59 'pytest-timeout',
6f8db8ed » dcramer
2013-05-14 Add coveralls dep
60 'python-coveralls',
907e3d0e » dcramer
2012-07-23 Allow flexible mock requirement and bump minimum version of raven (to…
61 'mock>=0.8.0',
8a9acbbb » dcramer
2013-10-19 Add riak to test deps
62 'riak',
0009804e » dcramer
2012-05-19 Missing unittest2
63 'unittest2',
931ef590 » dcramer
2011-03-25 Refactor tests so python setup.py test works correctly
64 ]
5289cbf7 » acdha
2011-03-16 Avoid installing example_project
65
30a68e13 » dcramer
2012-05-10 Initial work on buffers and base sentry app
66
eb90221d » dcramer
2011-05-12 Dont require eventlet/python-daemon by default. Only require uuid if …
67 install_requires = [
370a4d2e » dcramer
2013-02-26 Lock down (and bump) versions of various dependencies
68 'BeautifulSoup>=3.2.1,<3.3.0',
bd715695 » dcramer
2014-06-04 Revert "Celery 3.1"
69 'celery>=3.0.15,<3.1.0',
c765dee0 » dcramer
2013-10-20 Implement search backend abstraction
70 'cssutils>=0.9.9,<0.10.0',
9cb1334a » peterbe
2014-05-14 Django 1.5.8 should be required now
71 'Django>=1.5.8,<1.6',
c4529bb7 » mattrobenolt
2014-05-10 Bump django-bitfield
72 'django-bitfield>=1.7.0,<1.8.0',
bd715695 » dcramer
2014-06-04 Revert "Celery 3.1"
73 'django-celery>=3.0.11,<3.1.0',
c765dee0 » dcramer
2013-10-20 Implement search backend abstraction
74 'django-crispy-forms>=1.2.3,<1.3.0',
e8316ddc » mattrobenolt
2014-01-05 Bump django-paging to 0.2.5 for better django 1.5 support
75 'django-paging>=0.2.5,<0.3.0',
370a4d2e » dcramer
2013-02-26 Lock down (and bump) versions of various dependencies
76 'django-picklefield>=0.3.0,<0.4.0',
dc0e774c » dcramer
2014-05-19 Add optional recaptcha support
77 'django-recaptcha>=1.0.0,<1.1.0',
c765dee0 » dcramer
2013-10-20 Implement search backend abstraction
78 'django-social-auth>=0.7.28,<0.8.0',
a15badf3 » dcramer
2013-02-02 Bump static compiler
79 'django-static-compiler>=0.3.0,<0.4.0',
514127d8 » dcramer
2014-01-28 Instrument Celery tasks with statsd
80 'django-statsd-mozilla>=0.3.8.0,<0.3.9.0',
fd44026b » mattrobenolt
2014-05-17 Bump django-sudo to 1.1.0
81 'django-sudo>=1.1.0,<1.2.0',
4d20a4ac » alex
2014-03-23 Bump the allowed version on django-templatetag-sugar
82 'django-templatetag-sugar>=0.1.0',
d91e95db » dcramer
2013-09-29 Some more initial work on rest api
83 'djangorestframework>=2.3.8,<2.4.0',
2589a688 » mattrobenolt
2013-11-15 Adding smtp service
84 'email-reply-parser>=0.2.0,<0.3.0',
f9f48f8c » dcramer
2014-03-07 add enum34 dep
85 'enum34>=0.9.18,<0.10.0',
370a4d2e » dcramer
2013-02-26 Lock down (and bump) versions of various dependencies
86 'gunicorn>=0.17.2,<0.18.0',
72d25fcc » dcramer
2014-06-05 Add safe_urlopen helper
87 'ipaddr>=2.1.11,<2.2.0',
b0787e44 » dcramer
2013-09-19 logan 0.5.8.2
88 'logan>=0.5.8.2,<0.6.0',
a3664590 » dcramer
2014-04-28 Bump nydus to 0.10.7
89 'nydus>=0.10.7,<0.11.0',
370a4d2e » dcramer
2013-02-26 Lock down (and bump) versions of various dependencies
90 'Pygments>=1.6.0,<1.7.0',
3be728c1 » dcramer
2012-05-07 Correct version requirements for dateutil
91 'python-dateutil>=1.5.0,<2.0.0',
97655308 » dcramer
2013-08-24 Add memcached as a dependency
92 'python-memcached>=1.53,<2.0.0',
93a854db » dcramer
2014-05-28 Bump raven to 5.0.0
93 'raven>=5.0.0',
a13661eb » dcramer
2013-08-24 Relax some reqs
94 'redis>=2.7.0,<2.9.0',
95 'simplejson>=3.1.0,<3.4.0',
245b39e3 » dcramer
2014-05-18 Bind six dependency to a version that actually works
96 'six>=1.6.0,<1.7.0',
370a4d2e » dcramer
2013-02-26 Lock down (and bump) versions of various dependencies
97 'setproctitle>=1.1.7,<1.2.0',
3f23af1d » dcramer
2013-11-14 South 0.8.2 lockin
98 'South==0.8.2',
0e68935a » mattrobenolt
2014-05-17 Swap pynliner for toronado
99 'toronado>=0.0.4,<0.1.0',
72d25fcc » dcramer
2014-06-05 Add safe_urlopen helper
100 'ua-parser>=0.3.5',
c765dee0 » dcramer
2013-10-20 Implement search backend abstraction
101 'urllib3>=1.7.1,<1.8.0',
eb90221d » dcramer
2011-05-12 Dont require eventlet/python-daemon by default. Only require uuid if …
102 ]
103
92a06d71 » dcramer
2013-03-14 Add postgres and mysql distributions, as well as redis/nydus to defaults
104 postgres_requires = [
432ee5b9 » dcramer
2013-08-24 Upgrade Redis, simplejson, South, and psycopg2
105 'psycopg2>=2.5.0,<2.6.0',
92a06d71 » dcramer
2013-03-14 Add postgres and mysql distributions, as well as redis/nydus to defaults
106 ]
107
1d7be7fa » dcramer
2013-05-07 Add postgres_pypy
108 postgres_pypy_requires = [
109 'psycopg2cffi',
110 ]
111
92a06d71 » dcramer
2013-03-14 Add postgres and mysql distributions, as well as redis/nydus to defaults
112 mysql_requires = [
113 'MySQL-python>=1.2.0,<1.3.0',
114 ]
115
116
4358bb41 » dcramer
2013-06-26 pytest support for setup.py test
117 class PyTest(TestCommand):
118 def finalize_options(self):
119 TestCommand.finalize_options(self)
30b33ea7 » dcramer
2013-10-08 Correct setup.py test to point at our isolated test directory
120 self.test_args = ['tests']
4358bb41 » dcramer
2013-06-26 pytest support for setup.py test
121 self.test_suite = True
122
123 def run_tests(self):
fd44026b » mattrobenolt
2014-05-17 Bump django-sudo to 1.1.0
124 # import here, cause outside the eggs aren't loaded
4358bb41 » dcramer
2013-06-26 pytest support for setup.py test
125 import pytest
126 errno = pytest.main(self.test_args)
127 sys.exit(errno)
128
129
3e2ef2c3 » David Cramer
2009-09-17 Several fixes from existing Google Code tickets.
130 setup(
e769c9d6 » dcramer
2011-12-27 sentry -> django-sentry
131 name='sentry',
c74ba992 » dcramer
2014-01-19 Bump version to 7.0.0-DEV
132 version='7.0.0-DEV',
583bcd85 » David Cramer
2009-11-09 Added DBLOG_DATABASE setting for multi-db
133 author='David Cramer',
134 author_email='dcramer@gmail.com',
f4d7620e » yoloseem
2013-10-11 Update protocol of "www.getsentry.com" to https.
135 url='https://www.getsentry.com',
3aa2a451 » brunoqc
2012-04-19 Typo in setup.py
136 description='A realtime logging and aggregation server.',
4d0965f2 » dcramer
2013-04-23 Add in-development version and update long_description to use README
137 long_description=open('README.rst').read(),
bf5b0164 » dcramer
2012-08-21 Push all source files into src/
138 package_dir={'': 'src'},
139 packages=find_packages('src'),
07b589d5 » dcramer
2010-09-10 Mark as zip_safe=False
140 zip_safe=False,
eb90221d » dcramer
2011-05-12 Dont require eventlet/python-daemon by default. Only require uuid if …
141 install_requires=install_requires,
07f613f9 » dcramer
2013-01-30 Extra dev and test requirements
142 extras_require={
143 'tests': tests_require,
144 'dev': dev_requires,
92a06d71 » dcramer
2013-03-14 Add postgres and mysql distributions, as well as redis/nydus to defaults
145 'postgres': install_requires + postgres_requires,
1d7be7fa » dcramer
2013-05-07 Add postgres_pypy
146 'postgres_pypy': install_requires + postgres_pypy_requires,
92a06d71 » dcramer
2013-03-14 Add postgres and mysql distributions, as well as redis/nydus to defaults
147 'mysql': install_requires + mysql_requires,
07f613f9 » dcramer
2013-01-30 Extra dev and test requirements
148 },
bdc573f4 » dcramer
2013-06-26 Add tests_require
149 tests_require=tests_require,
4358bb41 » dcramer
2013-06-26 pytest support for setup.py test
150 cmdclass={'test': PyTest},
70a72579 » dcramer
2012-01-06 Added license
151 license='BSD',
3e2ef2c3 » David Cramer
2009-09-17 Several fixes from existing Google Code tickets.
152 include_package_data=True,
d5b41bb0 » dcramer
2012-02-14 Initial refactor of commands to utilize Logan
153 entry_points={
154 'console_scripts': [
155 'sentry = sentry.utils.runner:main',
156 ],
157 },
3e2ef2c3 » David Cramer
2009-09-17 Several fixes from existing Google Code tickets.
158 classifiers=[
583bcd85 » David Cramer
2009-11-09 Added DBLOG_DATABASE setting for multi-db
159 'Framework :: Django',
160 'Intended Audience :: Developers',
161 'Intended Audience :: System Administrators',
162 'Operating System :: OS Independent',
163 'Topic :: Software Development'
3e2ef2c3 » David Cramer
2009-09-17 Several fixes from existing Google Code tickets.
164 ],
a827548e » dcramer
2011-03-14 list django as a requirement so our distribution is correct
165 )
Something went wrong with that request. Please try again.