From: Stefano Rivera <stefano@rivera.za.net>
Date: Fri, 30 Oct 2026 16:07:25 +0200
Subject: Only ship our module in wheels

The exclude was already set, but for the wrong module name.

Include is much more reliable than exclude, because we don't have to
exclude other potential temporary build directories that setuptools will
pick up by accident.

Fixes: #291

Forwarded: https://github.com/fralau/mkdocs-macros-plugin/pull/293
Bug-Upstream: https://github.com/fralau/mkdocs-macros-plugin/issues/291
Bug-Debian: https://bugs.debian.org/1151398
---
 pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index eb0b5a5..1251818 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -38,7 +38,7 @@ dependencies = [
 ]
 
 [tool.setuptools]
-packages = { find = { exclude = ["*.tests"] } }
+packages = { find = { include = ["mkdocs_macros"] } }
 
 [project.optional-dependencies]
 test = [
