Skip to content

Commit

Permalink
Add make-target upload, enhance target test-upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
htgoebel committed Jun 1, 2015
1 parent b5dfdf0 commit 4e2ad4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 4e2ad4a

Please sign in to comment.