From 184dee2ca32c2bb4315a0f18e62288728fcd7881 Mon Sep 17 00:00:00 2001 From: "Christopher H. Casebeer" Date: Sat, 28 May 2016 16:26:29 -0400 Subject: [PATCH] Add PyPi RsT formatting check to Makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2332d56..b0aa120 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,15 @@ docs: README.html README.html: README.rst pandoc $^ > $@ -register: +register: checkmetadata python setup.py register -upload: +upload: checkmetadata python setup.py sdist upload --sign -r https://pypi.python.org/pypi +checkmetadata: + python setup.py check -s --restructuredtext + clean: find . -type f -name '*.pyc' -print0 | xargs -0 rm -f -- rm -rf *.egg-info