diff --git a/Makefile b/Makefile index d74634a..67fd87b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: install test lint mypy fmt check manifest check-manifest check-agents clean +.PHONY: install test lint mypy fmt check manifest check-manifest check-agents build clean PYTHON := .venv/bin/python PYTEST := .venv/bin/pytest @@ -60,6 +60,13 @@ check-agents: fi @echo "check-agents: AGENTS.md present; CLAUDE.md → AGENTS.md ✓" +# Build the wheel for a GitHub Release. PEP-517 via the `build` +# front-end; ships pure-Python with no compiled extensions. The +# resulting `dist/m_dev_tools_mcp--py3-none-any.whl` is what +# `gh release create` attaches as a downloadable asset. +build: + $(PYTHON) -m build --wheel + clean: rm -rf .venv .pytest_cache .ruff_cache .mypy_cache build dist/*.egg-info \ - src/*.egg-info + src/*.egg-info dist/*.whl dist/*.tar.gz diff --git a/dist/mcp-tools.json b/dist/mcp-tools.json index 0dd950f..b31e839 100644 --- a/dist/mcp-tools.json +++ b/dist/mcp-tools.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/m-dev-tools/.github/main/profile/repo.meta.schema.json", "kind": "m-dev-tools-mcp.tools", "package": "m_dev_tools_mcp", - "version": "0.0.1", + "version": "0.1.0", "tool_count": 3, "tools": [ { diff --git a/pyproject.toml b/pyproject.toml index ec9d92f..c2dcc3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "m-dev-tools-mcp" -version = "0.0.1" +version = "0.1.0" description = "MCP server for the m-dev-tools org catalog — exposes route_intent, describe, and verify as first-class agent tools." readme = "README.md" license = { text = "AGPL-3.0" } @@ -33,6 +33,7 @@ dev = [ "pytest-randomly", "ruff>=0.5", "mypy>=1.10", + "build>=1.2", ] [project.scripts] diff --git a/src/m_dev_tools_mcp/__init__.py b/src/m_dev_tools_mcp/__init__.py index 187fae4..a51da5a 100644 --- a/src/m_dev_tools_mcp/__init__.py +++ b/src/m_dev_tools_mcp/__init__.py @@ -1,3 +1,3 @@ """m-dev-tools-mcp — MCP server wrapping the m-dev-tools org catalog.""" -__version__ = "0.0.1" +__version__ = "0.1.0"