Update pypi upload script to use twine.
This commit is contained in:
parent
64a9d578c3
commit
59f4b54f4a
3 changed files with 4 additions and 14 deletions
11
phase2.py
11
phase2.py
|
@ -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
4
pypi_upload.bat
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
py setup.py sdist
|
||||||
|
twine upload -r pypi dist\*
|
||||||
|
rmdir /s /q dist
|
||||||
|
rmdir /s /q voussoirkit.egg-info
|
|
@ -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
|
|
Loading…
Reference in a new issue