-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from iheartradio/packaging
Release-readiness cleanup
- Loading branch information
Showing
5 changed files
with
75 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,9 @@ | ||
======= | ||
Authors | ||
======= | ||
|
||
The following folks have contributed to making this library possible. | ||
|
||
* Andy Dirnberger (`@dirn <https://github.com/dirn>`_) | ||
* Jon Banafato (`@jonafato <https://github.com/jonafato>`_) | ||
* Leonard Bedner (`@lbedner <https://github.com/lbedner>`_) |
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 |
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,5 +1,13 @@ | ||
############## | ||
Henson-Logging | ||
############## | ||
############################# | ||
Henson-Logging |build status| | ||
############################# | ||
|
||
.. |build status| image:: https://travis-ci.org/iheartradio/Henson-Logging.svg?branch=master | ||
:target: https://travis-ci.org/iheartradio/Henso-Logging | ||
|
||
A library to use structured logging with a Henson application. | ||
|
||
* `Documentation <https://henson-logging.rtfd.org>`_ | ||
* `Installation <https://henson-logging.readthedocs.org/en/latest/#installation>`_ | ||
* `Changelog <https://henson-logging.readthedocs.org/en/latest/changes.html>`_ | ||
* `Source <https://github.com/iheartradio/Henson-logging>`_ |
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,16 +1,45 @@ | ||
from setuptools import find_packages, 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-Logging', | ||
version='0.3.0', | ||
author='Andy Dirnberger, Jon Banafato, and others', | ||
author_email='[email protected]', | ||
url='https://henson-logging.rtfd.org', | ||
description='A library to use structured logging with a Henson application.', | ||
long_description=read('README.rst'), | ||
license='Apache License, Version 2.0', | ||
packages=find_packages(exclude=['tests']), | ||
zip_safe=False, | ||
install_requires=[ | ||
'Henson>=0.2.0', | ||
'structlog', | ||
], | ||
tests_require=[ | ||
'tox', | ||
'pytest', | ||
], | ||
cmdclass={ | ||
'test': PyTest, | ||
}, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
|