Skip to content

Commit

Permalink
fix(deploy): use twine to upload build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bladrak committed Mar 16, 2020
1 parent 5ea3866 commit a77b758
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ setup:
setup_docs:
pip install -r docs/requirements.txt

setup_publish:
pip install -r publish_requirements.txt

build_docs:
cd docs && make html

Expand All @@ -22,6 +25,6 @@ docs: setup_docs build_docs
test: setup
nosetests

publish:
python setup.py register -r pypi
python setup.py sdist upload -r pypi
publish: setup_publish
python setup.py sdist
twine upload dist/*
1 change: 1 addition & 0 deletions publish_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
twine

0 comments on commit a77b758

Please sign in to comment.