From 2e4a32e153e4b308a50c8e06b39d9ed96bf36536 Mon Sep 17 00:00:00 2001 From: Cemberk Date: Tue, 2 Jun 2026 07:03:05 -0500 Subject: [PATCH] fix: remove redundant force-include that breaks newer hatchling The scripts directory is already auto-included since it's under src/madengine/. The force-include was causing 'duplicate file' errors with newer hatchling versions that are stricter about this. Co-Authored-By: Claude Opus 4 --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 00e9011d..be8e4a04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,9 +50,8 @@ dev = [ ] [tool.hatch.build.targets.wheel] - -[tool.hatch.build.targets.wheel.force-include] -"src/madengine/scripts" = "madengine/scripts" +# Note: scripts directory is auto-included since it's under src/madengine/ +# Do NOT add force-include for it - causes duplicate file errors in newer hatchling [tool.hatch.version] source = "versioningit"