From 55c1a6182c10cc69baa1bf581d019df6ccc8ef6b Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 7 Oct 2026 12:33:41 +0100 Subject: [PATCH] fix: allow-list setuptools package discovery to autonerves* 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 = ["autonerves*"] 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 6cc63cf..9ccc997 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ Homepage = "https://github.com/PyAutoLabs/PyAutoNerves" include-package-data = true [tool.setuptools.packages.find] +include = ["autonerves*"] exclude = ["docs", "test_autonerves", "test_autonerves*", "scripts", "scripts*"] [tool.setuptools_scm]