forked from dirn/Henson-Sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.41 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
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
super().finalize_options()
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
sys.exit(pytest.main(self.test_args))
def read(filename):
with open(filename) as f:
return f.read()
setup(
name='Henson-Sentry',
version='0.4.0',
author='Andy Dirnberger, Leonard Bedner, and others',
author_email='[email protected]',
url='https://henson-sentry.readthedocs.io',
description='A library for integrating Sentry into a Henson application',
long_description=read('README.rst'),
license='MIT',
py_modules=['henson_sentry'],
zip_safe=False,
install_requires=[
'Henson',
'raven-aiohttp',
],
tests_require=[
'pytest',
'pytest-asyncio',
],
cmdclass={
'test': PyTest,
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development',
]
)