Debian Codegraph @

debian/patches/setuptools-include.patch

raw
1 From: Colin Watson <[email protected]>
2 Date: Wed, 3 Jun 2026 11:48:58 +0100
3 Subject: Specify packages using include rather than exclude
4
5 This avoids possible duplication if a wheel is built more than once from
6 the same directory.
7
8 Forwarded: https://github.com/bbangert/beaker/pull/260
9 Last-Update: 2026-06-03
10 ---
11 pyproject.toml | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/pyproject.toml b/pyproject.toml
15 index de6788b..60171d0 100644
16 --- a/pyproject.toml
17 +++ b/pyproject.toml
18 @@ -68,7 +68,7 @@ zip-safe = false
19 platforms = ["any"]
20
21 [tool.setuptools.packages.find]
22 -exclude = ["ez_setup*", "examples*", "tests*", "tests.*", "beaker.docs"]
23 +include = ["beaker", "beaker.crypto", "beaker.ext"]
24
25 [tool.pytest.ini_options]
26 addopts = "-v"