- Clone this repo
- Add repo location to your path (in
/etc/paths
or.bashrc
) - Add execute permission to the script (
chmod +x build_and_upload.sh
) - Save your PyPi token to
~/.pypi-password
If you haven't already, install PyPA's build and twine libraries (pip install build twine
).
To use the script, the project will need to be properly packaged for PyPi.
In the project's root directory, simply run build_and_upload.sh
.