| .. | ||
| env-build.sh | ||
| generate.sh | ||
| README.md | ||
| test-upload.sh | ||
| upload.sh | ||
PyPI Upload Scripts
I constantly have to lookup how to do the varying steps for this, so I wrote some bash scripts for handling the artifact generation and PyPI uploads, including to the test server.
Process
- Navigate to the directory root.
sh ./.upload-scripts/env-build.shsource ./.upload-venv/bin/activatesh ./.upload-scripts/generate.sh- Check the new build artifact for errors.
sh ./.upload-scripts/test-upload.sh- Check the uploaded version. Test install with
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple ppbWhen you're sure, move on. sh ./.upload-scripts/up