From 1677f85666f349d0cc6a988b1c62223ed39a93fc Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Sat, 11 Jul 2026 17:29:53 -0600 Subject: [PATCH] Release 2026.07.11: bump version and add sdist excludes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump CalVer to reflect the SchDocument refactor and macOS resolution fixes. Add [tool.hatch.build.targets.sdist] excludes so the published archive ships only src + packaging metadata — keeping CLAUDE.md, docs/ (agent threads with operator paths), docs-site/, and tests/ out of the sdist. --- pyproject.toml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e6fe306..386851d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mckicad" -version = "2026.03.03" +version = "2026.07.11" description = "MCP server for KiCad electronic design automation" readme = "README.md" license = { text = "MIT" } @@ -25,7 +25,6 @@ dependencies = [ "pyyaml>=6.0.3", "defusedxml>=0.7.1", "kicad-python>=0.5.0", - "requests>=2.32.5", ] @@ -38,6 +37,25 @@ mckicad = "mckicad.server:main" [tool.hatch.build.targets.wheel] packages = ["src/mckicad"] +[tool.hatch.build.targets.sdist] +# Ship only what a consumer needs. Keep operator-private context, the docs +# site, test fixtures (which can carry real system output), and local dev +# files out of the published archive. +exclude = [ + "CLAUDE.md", + ".env", + ".env.example", + ".mcp.json", + "docs/", + "docs-site/", + "tests/", + ".github/", + ".pytest_cache/", + ".ruff_cache/", + "dist/", + "build/", +] + [dependency-groups] dev = [ "pytest>=8.4.2",