cmd-call-graph
cmd-call-graph copied to clipboard
Automate pushing releases to PyPI
Documentation: https://docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/pypi?view=vsts&tabs=yaml
- [ ] define what triggers publishing to PyPI
- [ ] define how to handle version numbers
- [ ] define how to handle the changelog
- [ ] handle authentication (https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/package/twine-authenticate?view=vsts)
- [ ] implement pushing to PyPI
Easy to do with Github Actions: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python#publishing-to-package-registries
Here's a nice article summarizing modern good practices for Python packages: https://antonz.org/python-packaging/