Add automated PyPI publishing with version management#164
Merged
schulzchristian merged 1 commit intoKaHIP:masterfrom Nov 3, 2025
Merged
Add automated PyPI publishing with version management#164schulzchristian merged 1 commit intoKaHIP:masterfrom
schulzchristian merged 1 commit intoKaHIP:masterfrom
Conversation
This commit introduces fully automated PyPI package publishing with automatic version management using setuptools-scm. No manual version updates are needed anymore - just create and push a git tag to release a new version. Changes: - Configure setuptools-scm to derive version from git tags automatically - Add GitHub Actions workflow for building and publishing to PyPI - Build wheels for Linux (manylinux) and macOS across Python 3.8-3.12 - Support both trusted publishing and API token authentication - Update README.md table formatting for better readability To release a new version: git tag v3.20.0 git push origin v3.20.0 The tag format v*.*.* is automatically converted to the package version (e.g., v3.20.0 becomes 3.20.0). GitHub Actions handles the rest: building wheels for multiple platforms and Python versions, then publishing to PyPI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces fully automated PyPI package publishing with automatic version management using setuptools-scm. No manual version updates are needed anymore - just create and push a git tag to release a new version.
Changes:
To release a new version:
git tag v3.20.0 git push origin v3.20.0
The tag format v*.. is automatically converted to the package version (e.g., v3.20.0 becomes 3.20.0). GitHub Actions handles the rest: building wheels for multiple platforms and Python versions, then publishing to PyPI.
🤖 Generated with Claude Code