Tags: EwoutH/mesa
Tags
CI: release: Change for calling setup.py directly to using build Calling setup.py directly is depreciated, this switches to using pypa's build tool for wheel and sdist building. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for reasoning and https://pypa-build.readthedocs.io/en/stable/ for build documentation.
Release CI: Also upload packages as artifact to GitHub
CI: Create Action to publish to PyPI on release
Creates a GitHub Action workflow that builds and published packaged distribution files to PyPI when a release is published in GitHub.
The secret used in ${{ secrets.PYPI_API_TOKEN }} needs to be created on the settings page of your project on GitHub.
At some point we should probably switch to pyproject.toml as defined in PEP 518.
PreviousNext