From 4e2ad4a871612b8559d3702da9e55fa694841749 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Mon, 1 Jun 2015 19:24:36 +0200 Subject: [PATCH] Add make-target upload, enhance target test-upload. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 184a735..deafea9 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ install-requirements: pip install -r .requirements dist: -# ensure a clean build + @# ensure a clean build rm -rf build python setup.py sdist bdist @@ -59,10 +59,14 @@ examples: #-- interaction with PyPI -test-upload: +test-upload dist: python ./setup.py register -r https://testpypi.python.org/pypi python ./setup.py sdist upload -r https://testpypi.python.org/pypi test-install: virtualenv /tmp/test-yaml2rst /tmp/test-yaml2rst/bin/pip install -i https://testpypi.python.org/pypi yaml2rst + +upload: dist + python ./setup.py register + python ./setup.py sdist upload