This file contains hidden or 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
[distutils] | |
index-servers = | |
pypi | |
[pypi] | |
username: <YOUR PYPI USERNAME> | |
password: <YOUR PYPI PASSWORD> |
This file contains hidden or 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 |