fix(build): remove redundant wheel force-include (hatchling duplicate-path error)

packages=["src/bookfusion_mcp"] already bundles web/*.user.js. Recent hatchling
rejects the duplicate add from force-include (ValueError: second file at same
path) - non-deterministic build surfacing only on a host with newer hatchling.
Web asset still shipped via packages (verified in image).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Frederic Guariento 2026-07-10 18:04:20 +02:00
parent 9d1e2c94f1
commit c9c104f04e

View file

@ -35,8 +35,6 @@ bookfusion-http = "bookfusion_mcp.__main__:http_main"
[tool.hatch.build.targets.wheel]
packages = ["src/bookfusion_mcp"]
[tool.hatch.build.targets.wheel.force-include]
"src/bookfusion_mcp/web" = "bookfusion_mcp/web"
[tool.ruff]
line-length = 100