Skip to content

Commit

Permalink
Updated makefile to release using twine.
Browse files Browse the repository at this point in the history
  • Loading branch information
loganasherjones committed Feb 2, 2018
1 parent 6cce743 commit 43c4c97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,13 @@ docs: ## generate Sphinx HTML documentation, including API docs
servedocs: docs ## compile the docs watching for changes
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .

test-release: clean ## package and upload a release to the testpypi
$(MAKE) dist
twine upload --repository testpypi dist/*

release: clean ## package and upload a release
python setup.py sdist upload
python setup.py bdist_wheel upload
$(MAKE) dist
twine upload dist/*

dist: clean ## builds source and wheel package
python setup.py sdist
Expand Down
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ coverage>=3.7.1
mock==2.0.0
six==1.11.0
python-box==3.1.1
twine==1.9.1

0 comments on commit 43c4c97

Please sign in to comment.