Last active
December 7, 2019 20:19
-
-
Save noahyonack/24c8e813e65e37d06bc811c0b8b7b1dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# just to be safe: wipe the dist folder of previous builds | |
rm -r dist/* | |
# ensure you hav the latest versions of twine, setuptools, and wheel | |
python3 -m pip install --user --upgrade twine setuptools wheel | |
# build the package | |
python3 setup.py sdist bdist_wheel | |
# upload it to PyPI | |
python3 -m twine upload dist/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment