From 716ee6d361f4aae7bd284cf45569f217b1068907 Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 2 Jan 2016 15:52:22 -0500 Subject: [PATCH] Add download shield. Add check-rst target --- Makefile | 5 +++++ README.rst | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 022b6677..0379772d 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,11 @@ sdist: #: Style check. Set env var LINT to pyflakes, flake, or flake8 lint: flake8 +# Check StructuredText long description formatting +check-rst: + $(PYTHON) setup.py --long-description | rst2html.py > python3-trepan.html + +#: Lint program flake8: $(LINT) uncompyle6 diff --git a/README.rst b/README.rst index ec733bf3..4202157f 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -|buildstatus| +|downloads| |buildstatus| uncompyle6 ========== @@ -98,6 +98,7 @@ See Also The HISTORY file. +.. |downloads| image:: https://img.shields.io/pypi/dd/uncompyle6.svg .. _trepan: https://pypi.python.org/pypi/trepan .. _debuggers: https://pypi.python.org/pypi/trepan3k .. _remake: https://bashdb.sf.net/remake