From c39bd7b06416cb886dfefb3d0cb3c8f2c3bef91e Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 7 Oct 2026 12:33:42 +0100 Subject: [PATCH] fix: allow-list setuptools package discovery to autoarray* 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 = ["autoarray*"] 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 2ae17e486..601bc489f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ Homepage = "https://github.com/PyAutoLabs/PyAutoArray" include-package-data = true [tool.setuptools.packages.find] +include = ["autoarray*"] exclude = ["docs", "test_autoarray", "test_autoarray*"] [tool.setuptools_scm]