Update pypi upload script to use twine.

master
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