Skip to content

Commit

Permalink
use twine now for distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jul 21, 2018
1 parent 296a667 commit b180e5c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions pypi.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
@ECHO OFF
# refactor and use twine now

REM post this project to PyPI
# see: https://pypi.org/project/twine/

# refactor the ~/.pypirc file
# see: https://docs.python.org/3/distutils/packageindex.html#the-pypirc-file

python setup.py sdist bdist_wheel upload
conda install twine

# remove build and dist directories (or replace wild cards with appropriate version)

python setup.py sdist bdist_wheel

twine upload --repository-url https://test.pypi.org/legacy/ dist/*

twine upload dist/*

0 comments on commit b180e5c

Please sign in to comment.