Debian Codegraph @

debian/patches/wheel-exclude-test-compatibility.patch

raw
1 From: Colin Watson <[email protected]>
2 Date: Sun, 13 Jul 2025 00:36:27 +0200
3 Subject: Exclude test/compatibility/ from wheel
4
5 A built wheel of this packages includes `test/compatibility/*.py`, which
6 is namespace pollution and doesn't seem to be intentional. Remove it.
7
8 Forwarded: https://github.com/schwehr/libais/pull/252
9 Last-Update: 2025-07-13
10 ---
11 setup.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/setup.py b/setup.py
15 index ef7e9a7..7da3888 100755
16 --- a/setup.py
17 +++ b/setup.py
18 @@ -108,7 +108,7 @@ setup(
19 },
20
21 ext_modules=[AIS_MODULE],
22 - packages=find_packages(exclude=['test']),
23 + packages=find_packages(exclude=['test', 'test.*']),
24 install_requires=['six'],
25 extras_require={
26 'tests': tests_require,