Update pypi upload script to use twine.

This commit is contained in:
Ethan Dalool 2019-08-05 17:35:53 -07:00
parent 64a9d578c3
commit 59f4b54f4a
3 changed files with 4 additions and 14 deletions

View file

@ -1,11 +0,0 @@
import shutil
import os
def delete(folder):
try:
shutil.rmtree(folder)
except:
pass
delete('dist')
delete('voussoirkit.egg-info')

4
pypi_upload.bat Normal file
View file

@ -0,0 +1,4 @@
py setup.py sdist
twine upload -r pypi dist\*
rmdir /s /q dist
rmdir /s /q voussoirkit.egg-info

View file

@ -1,3 +0,0 @@
rem py setup.py register -r https://upload.pypi.org/legacy/
py setup.py sdist upload -r https://upload.pypi.org/legacy/
phase2