Skip to content

Commit

Permalink
add PyPI badge to README
Browse files Browse the repository at this point in the history
  • Loading branch information
anentropic committed Mar 15, 2018
1 parent 671f175 commit e06b85e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.PHONY: pypi, tag
.PHONY: pypi, tag, test

pypi:
rm dist/*
rm -f dist/*
python setup.py sdist
twine upload --config-file=.pypirc dist/*
make tag

tag:
git tag $$(python -c "from event_consumer.__about__ import __version__; print __version__")
git push --tags

test:
PYTHONPATH=. py.test -v -s --pdb tests/
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
celery-message-consumer
=======================

|Build Status|
|PyPI Version| |Build Status|

.. |PyPI Version| image:: http://img.shields.io/pypi/v/celery-message-consumer.svg?style=flat
:target: https://pypi.python.org/pypi/celery-message-consumer/
:alt: Latest PyPI version

.. |Build Status| image:: https://circleci.com/gh/depop/celery-message-consumer.svg?style=shield&circle-token=a9ea2909c5cbc4cb32a87f50444ca79b99e3b09c
:alt: Build Status
Expand Down
2 changes: 1 addition & 1 deletion event_consumer/conf/defaults.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from datetime import timedelta
import os
from typing import Callable, Dict, List, Optional # noqa
from typing import Callable, Dict, Optional # noqa


# namespace for config keys loaded from e.g. Django conf or env vars
Expand Down

0 comments on commit e06b85e

Please sign in to comment.