From c1ac708ffcb70f4e59881e34e2f24618d5644d75 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 6 Jul 2026 12:33:55 +0100 Subject: [PATCH] Specify packages using include rather than exclude This avoids possible duplication if a wheel is built more than once from the same directory. --- pyproject.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a6362c9..3abe3f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,10 +67,8 @@ include-package-data = false version = {attr = "pyvips.version.__version__"} [tool.setuptools.packages.find] -exclude = [ - "doc*", - "examples*", - "tests*", +include = [ + "pyvips", ] [project.optional-dependencies]