forked from dirn/Henson-Sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
include AUTHORS.rst | ||
include LICENSE | ||
include README.rst | ||
|
||
recursive-include docs Makefile *.py *.rst | ||
|
||
exclude .coveragerc | ||
exclude .travis.yml | ||
exclude tox.ini | ||
|
||
prune docs/_build | ||
prune tests |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,45 @@ | ||
from setuptools import find_packages, setup | ||
from setuptools.command.test import test as TestCommand | ||
import sys | ||
|
||
from henson_sentry import __version__ | ||
|
||
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=__version__, | ||
version='0.1.0', | ||
author='Andy Dirnberger', | ||
author_email='[email protected]', | ||
url='https://henson-sentry.rtfd.org', | ||
description='A library for integrating Sentry into a Henson application', | ||
long_description=read('README.rst'), | ||
license='MIT', | ||
packages=find_packages(exclude=['tests']), | ||
zip_safe=False, | ||
install_requires=[ | ||
'Henson', | ||
'raven', | ||
], | ||
tests_require=[ | ||
'tox', | ||
'pytest', | ||
'pytest-asyncio', | ||
], | ||
cmdclass={ | ||
'test': PyTest, | ||
}, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
|