File: 0002-Use-automatic-discovery-of-packages-to-also-include-.patch

package info (click to toggle)
python-django-object-actions 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 296 kB
  • sloc: python: 738; makefile: 64; sh: 6
file content (27 lines) | stat: -rw-r--r-- 706 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"]