From: Michael Fladischer <fladi@debian.org>
Date: Wed, 20 Aug 2025 14:34:48 +0000
Subject: Use automatic discovery of packages to also include tests.

---
 pyproject.toml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 39c79fb..e0509c6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -38,11 +38,9 @@ dev = [
 ]
 build = ["build", "twine"]
 
-[tool.setuptools]
-packages = [
-  "django_object_actions",
-  "django_object_actions.templates.django_object_actions",
-]
+[tool.setuptools.packages.find]
+exclude = ["example_project*"]
+
 [tool.setuptools.package-data]
 "django_object_actions.templates.django_object_actions" = ["*.html"]
 
