forked from rollbar/pyrollbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (75 loc) · 2.53 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
72
73
74
75
76
77
78
79
80
81
import re
import os.path
import sys
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README_PATH = os.path.join(HERE, 'README.rst')
try:
with open(README_PATH) as fd:
README = fd.read()
except IOError:
README = ''
INIT_PATH = os.path.join(HERE, 'rollbar/__init__.py')
with open(INIT_PATH) as fd:
INIT_DATA = fd.read()
VERSION = re.search(r"^__version__ = ['\"]([^'\"]+)['\"]", INIT_DATA, re.MULTILINE).group(1)
tests_require = [
'mock',
'webob',
'blinker',
'unittest2'
]
version = sys.version_info
if version[0] == 2 or (version[0] == 3 and version[1] < 4):
tests_require.append('enum34')
setup(
name='rollbar',
packages=find_packages(),
version=VERSION,
entry_points={
'paste.filter_app_factory': [
'pyramid=rollbar.contrib.pyramid:create_rollbar_middleware'
],
'console_scripts': ['rollbar=rollbar.cli:main']
},
description='Easy and powerful exception tracking with Rollbar. Send '
'messages and exceptions with arbitrary context, get back '
'aggregates, and debug production issues quickly.',
long_description=README,
author='Rollbar, Inc.',
author_email='[email protected]',
test_suite='rollbar.test',
url='http://github.com/rollbar/pyrollbar',
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Bottle",
"Framework :: Django",
"Framework :: Flask",
"Framework :: Pylons",
"Framework :: Pyramid",
"Framework :: Twisted",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development",
"Topic :: Software Development :: Bug Tracking",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring",
],
install_requires=[
'requests>=0.12.1',
'six>=1.9.0'
],
tests_require=tests_require,
)