Skip to content

Commit

Permalink
Use twine for release
Browse files Browse the repository at this point in the history
  • Loading branch information
bennylope committed Aug 18, 2016
1 parent 10f30e9 commit 6063601
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,18 @@ test-coverage: clean-test
test-all:
tox


check: clean-build clean-pyc clean-test lint test-coverage

release: clean
python setup.py sdist upload
python setup.py bdist_wheel upload
build: clean ## Create distribution files for release
python setup.py sdist bdist_wheel

release: build ## Create distribution files and publish to PyPI
python setup.py check -r -s
twine upload dist/*

dist: clean
sdist: clean ##sdist Create source distribution only
python setup.py sdist
python setup.py bdist_wheel
ls -l dist

docs:
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
Sphinx
tox
wheel
twine

0 comments on commit 6063601

Please sign in to comment.