From eb0126098b7c38ae2c79e581e58e3764e0f10a42 Mon Sep 17 00:00:00 2001 From: Beon de Nood Date: Wed, 13 May 2026 20:45:21 -0700 Subject: [PATCH] fix: remove duplicate force-include causing PyPI wheel rejection The force-include directives for proto/gen files are redundant since the packages directive already includes everything under capiscio_mcp/. The duplicate entries in the wheel ZIP caused PyPI to reject the upload with 'Duplicate filename in local headers'. --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e4501dc..de5d7f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,12 +57,6 @@ Issues = "https://github.com/capiscio/capiscio-mcp-python/issues" [tool.hatch.build.targets.wheel] packages = ["capiscio_mcp"] -[tool.hatch.build.targets.wheel.force-include] -"capiscio_mcp/_proto/gen/capiscio" = "capiscio_mcp/_proto/gen/capiscio" - -[tool.hatch.build.targets.sdist.force-include] -"capiscio_mcp/_proto/gen/capiscio" = "capiscio_mcp/_proto/gen/capiscio" - [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"]