fix(build): drop duplicate force-include that breaks source installs (#329)
Removes the [tool.hatch.build.targets.wheel.force-include] block that duplicated files already included via packages=["agent_reach"], which made modern hatchling fail source installs with 'ValueError: A second file is being added to the wheel archive at the same path'. Verified before merge: wheel builds clean (48 entries, no duplicates), SKILL.md / guides / scripts all ship in site-packages, 85 tests pass on Python 3.11. Fixes #334, fixes #332, fixes #328, fixes #315, fixes #308.
This commit is contained in:
@@ -64,12 +64,6 @@ build-backend = "hatchling.build"
|
|||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["agent_reach"]
|
packages = ["agent_reach"]
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel.force-include]
|
|
||||||
"agent_reach/guides" = "agent_reach/guides"
|
|
||||||
# Keep the whole skill directory so SKILL.md, SKILL_en.md, and references/ ship together.
|
|
||||||
"agent_reach/skill" = "agent_reach/skill"
|
|
||||||
"agent_reach/scripts" = "agent_reach/scripts"
|
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py310"
|
target-version = "py310"
|
||||||
line-length = 100
|
line-length = 100
|
||||||
|
|||||||
Reference in New Issue
Block a user