Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to pbr for package setup (#160)
- Loading branch information
Showing
6 changed files
with
48 additions
and
94 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
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 +0,0 @@ | ||
# Used by setup.py, so minimize top-level imports. | ||
|
||
VERSION = (2, 4, 0) | ||
|
||
__version__ = ".".join(str(i) for i in VERSION) | ||
This file was deleted.
Oops, something went wrong.
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,27 +1,11 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# pip-compile --output-file requirements-dev.txt requirements-dev.in | ||
# | ||
amqp==2.2.2 # via kombu | ||
billiard==3.5.0.3 # via celery | ||
celery==4.1.0 | ||
coverage==4.4.2 | ||
flake8==3.5.0 | ||
isort==4.2.15 | ||
kombu==4.1.0 # via celery | ||
mccabe==0.6.1 | ||
mock==2.0.0 | ||
pbr==3.1.1 # via mock | ||
pep8-naming==0.4.1 | ||
pep8==1.7.1 | ||
py==1.4.34 # via pytest | ||
pycodestyle==2.3.1 # via flake8 | ||
pydocstyle==2.1.1 | ||
pyflakes==1.6.0 # via flake8 | ||
pytest-django==3.1.2 | ||
pytest==3.2.3 | ||
pytz==2017.3 # via celery | ||
six==1.11.0 # via mock | ||
vine==1.1.4 # via amqp | ||
-e . | ||
celery | ||
coverage | ||
flake8 | ||
isort | ||
mccabe | ||
mock | ||
pydocstyle | ||
pep8-naming | ||
pytest | ||
pytest-django |
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,50 +1,7 @@ | ||
|
||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
from health_check import __version__ | ||
|
||
# Utility function to read the README file. | ||
# Used for the long_description. It's nice, because now 1) we have a top level | ||
# README file and 2) it's easier to type in the README file than to put a raw | ||
# string in below ... | ||
|
||
|
||
def read(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
#!/usr/bin/env python | ||
from setuptools import setup | ||
|
||
setup( | ||
name="django-health-check", | ||
version=__version__, | ||
author="Kristian Ollegaard", | ||
author_email="kristian@oellegaard.com", | ||
description=("a pluggable app that runs a full check on the deployment," | ||
" using a number of plugins to check e.g. database, queue server, celery processes, etc."), | ||
license="BSD", | ||
keywords="django health check monitoring", | ||
url="https://github.com/KristianOellegaard/django-health-check", | ||
packages=find_packages(exclude=['tests', 'docs']), | ||
long_description=read('README.rst'), | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Framework :: Django', | ||
'Framework :: Django :: 1.8', | ||
'Framework :: Django :: 1.9', | ||
'Framework :: Django :: 1.10', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'License :: Public Domain', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Software Development :: Quality Assurance', | ||
'Topic :: System :: Logging', | ||
'Topic :: System :: Monitoring', | ||
'Topic :: Utilities', | ||
], | ||
install_requires=[], | ||
include_package_data=True, | ||
zip_safe=False, | ||
setup_requires=['pbr'], | ||
pbr=True, | ||
) |