From 206f44491ec8811daa43a1b6060c94c0d4c1b6fd Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 7 Oct 2026 12:41:30 +0100 Subject: [PATCH] fix: allow-list setuptools package discovery to autocti* 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 = ["autocti*"] 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 7b05cf35..09889831 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ Homepage = "https://github.com/PyAutoLabs/PyAutoCTI" include-package-data = true [tool.setuptools.packages.find] +include = ["autocti*"] exclude = ["docs", "test_autocti", "test_autocti*"] [tool.setuptools_scm]