Skip to content

Instantly share code, notes, and snippets.

@Sigmanificient
Created August 29, 2021 16:13
Show Gist options
  • Save Sigmanificient/98d983851f038ba5793c0c647eaf95c1 to your computer and use it in GitHub Desktop.
Save Sigmanificient/98d983851f038ba5793c0c647eaf95c1 to your computer and use it in GitHub Desktop.
Bat script to upload to pypi automatically with venv
cd ..
venv\Scripts\python.exe -m setup sdist bdist_wheel
venv\Scripts\python.exe -m twine check dist/*
venv\Scripts\python.exe -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/* -u %1 -p %2 --skip-existing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment