Debian Codegraph @

debian/patches/fix-recursive-package-discovery.patch

raw
1 Description: Fix acstore.containers/acstore.helpers missing from built wheel
2 packages.find's include=["acstore"] is non-recursive, so subpackages
3 are dropped. Use package-dir instead to restore recursive discovery.
4 This is a partial backport of upstream commit 8cc9029e; unrelated hunks omitted.
5 Origin: backport, https://github.com/log2timeline/acstore/pull/81/commits/8cc9029ea7795df3cb6784e87af18f0ebe3665f4
6 Bug-Debian: https://bugs.debian.org/1135446
7 Last-Update: 2026-08-18
8 ---
9 pyproject.toml | 6 ++----
10 1 file changed, 2 insertions(+), 4 deletions(-)
11
12 diff --git a/pyproject.toml b/pyproject.toml
13 index c007262..81dde9b 100644
14 --- a/pyproject.toml
15 +++ b/pyproject.toml
16 @@ -26,7 +26,5 @@ Documentation = "https://acstore.readthedocs.io/en/latest"
17 Homepage = "https://github.com/log2timeline/acstore"
18 Repository = "https://github.com/log2timeline/acstore"
19
20 -[tool.setuptools.packages.find]
21 -where = ["."]
22 -include = ["acstore"]
23 -exclude = ["docs", "tests", "tests.*", "utils"]
24 +[tool.setuptools]
25 +package-dir = {"acstore" = "acstore"}