From e8769112cd7d44c2e1f804b0ea64c67789168ffe Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 7 Oct 2026 12:33:46 +0100 Subject: [PATCH] fix: allow-list setuptools package discovery to autoreduce* packages.find had only an exclude list, so setuptools packaged every importable directory: a local build/ was re-packaged one level deeper on each build, and docs/ subdirectories leaked into the wheel. include = ["autoreduce*"] mirrors PyAutoHeart; existing excludes are kept. Refs PyAutoLabs/PyAutoNerves#194 Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 75a8e57..9514b7f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,6 +43,7 @@ Homepage = "https://github.com/PyAutoLabs/PyAutoReduce" include-package-data = true [tool.setuptools.packages.find] +include = ["autoreduce*"] exclude = ["docs", "prototypes", "test_autoreduce", "test_autoreduce*"] [tool.setuptools_scm]