setup.py 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. #!/usr/bin/env python
  2. """
  3. Sentry
  4. ======
  5. Sentry is a realtime event logging and aggregation platform. It specializes
  6. in monitoring errors and extracting all the information needed to do a proper
  7. post-mortem without any of the hassle of the standard user feedback loop.
  8. Sentry is a Server
  9. ------------------
  10. The Sentry package, at its core, is just a simple server and web UI. It will
  11. handle authentication clients (such as `Raven <https://github.com/getsentry/raven-python>`_)
  12. and all of the logic behind storage and aggregation.
  13. That said, Sentry is not limited to Python. The primary implementation is in
  14. Python, but it contains a full API for sending events from any language, in
  15. any application.
  16. :copyright: (c) 2011-2012 by the Sentry Team, see AUTHORS for more details.
  17. :license: BSD, see LICENSE for more details.
  18. """
  19. from setuptools import setup, find_packages
  20. # Hack to prevent stupid "TypeError: 'NoneType' object is not callable" error
  21. # in multiprocessing/util.py _exit_function when running `python
  22. # setup.py test` (see
  23. # http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
  24. for m in ('multiprocessing', 'billiard'):
  25. try:
  26. __import__(m)
  27. except ImportError:
  28. pass
  29. dev_requires = [
  30. 'flake8>=1.7.0',
  31. ]
  32. tests_require = [
  33. 'exam>=0.5.1',
  34. 'eventlet',
  35. 'pytest',
  36. 'pytest-django',
  37. 'nydus',
  38. 'mock>=0.8.0',
  39. 'mock-django>=0.6.4',
  40. 'redis',
  41. 'unittest2',
  42. ]
  43. install_requires = [
  44. 'cssutils>=0.9.9',
  45. 'BeautifulSoup>=3.2.1',
  46. 'django-celery>=2.5.5',
  47. 'celery>=2.5.3',
  48. 'django-crispy-forms>=1.1.4',
  49. 'Django>=1.4.2,<=1.5',
  50. 'django-indexer>=0.3.0',
  51. 'django-paging>=0.2.4',
  52. 'django-picklefield>=0.2.0',
  53. 'django-static-compiler>=0.2.3,<0.3.0',
  54. 'django-templatetag-sugar>=0.1.0',
  55. 'gunicorn>=0.14.6',
  56. 'logan>=0.5.4',
  57. 'Pygments>=1.5',
  58. 'pynliner>=0.4.0',
  59. 'python-dateutil>=1.5.0,<2.0.0',
  60. 'raven>=3.1.6',
  61. 'simplejson>=2.1.6',
  62. 'South>=0.7.6',
  63. 'httpagentparser>=1.0.5',
  64. 'django-social-auth>=0.7.1,<1.0',
  65. 'django-social-auth-trello>=1.0.2',
  66. ]
  67. setup(
  68. name='sentry',
  69. version='5.3.3',
  70. author='David Cramer',
  71. author_email='dcramer@gmail.com',
  72. url='http://www.getsentry.com',
  73. description='A realtime logging and aggregation server.',
  74. long_description=__doc__,
  75. package_dir={'': 'src'},
  76. packages=find_packages('src'),
  77. zip_safe=False,
  78. install_requires=install_requires,
  79. extras_require={
  80. 'tests': tests_require,
  81. 'dev': dev_requires,
  82. },
  83. test_suite='runtests.runtests',
  84. license='BSD',
  85. include_package_data=True,
  86. entry_points={
  87. 'console_scripts': [
  88. 'sentry = sentry.utils.runner:main',
  89. ],
  90. },
  91. classifiers=[
  92. 'Framework :: Django',
  93. 'Intended Audience :: Developers',
  94. 'Intended Audience :: System Administrators',
  95. 'Operating System :: OS Independent',
  96. 'Topic :: Software Development'
  97. ],
  98. )