Add packaging and CI release workflow for the Python GhidraMCP client#108
Open
nightlark wants to merge 1 commit intoLaurieWired:mainfrom
Open
Add packaging and CI release workflow for the Python GhidraMCP client#108nightlark wants to merge 1 commit intoLaurieWired:mainfrom
nightlark wants to merge 1 commit intoLaurieWired:mainfrom
Conversation
* Add pyproject.toml using Hatchling + hatch-vcs for packaging GhidraMCP's Python client; version pulled from Git tags (no v prefix), CLI entrypoint defined * Add release workflow to build/check wheel, upload artifacts, and publish to PyPI using OIDC * Update README to mention ways to install GhidraMCP Python client using pipx and uv tool Signed-off-by: Ryan Mast <[email protected]>
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 adds files for publishing a copy of the Python MCP client/server on PyPI, so it can be installed with
pipxoruv tool install-- this removes the need for absolute paths in configuration files for claude/5ire/etc and the explicitpythoncommand to run the script. It is also makes it possible for other Python tools to list it as a dependency.Currently this PR has CI workflows set up to publish new releases when a new git tags that looks like a version number is pushed. Once (if? I could keep maintaining this packaging myself as a separate repo) this change is merged I can update the PyPI trusted publishing workflow to use this GitHub repo (and add/transfer ownership of the PyPI package if desired).
cc: @LaurieWired