From: Colin Watson <cjwatson@debian.org>
Date: Sun, 13 Jul 2025 00:36:27 +0200
Subject: Exclude test/compatibility/ from wheel

A built wheel of this packages includes `test/compatibility/*.py`, which
is namespace pollution and doesn't seem to be intentional.  Remove it.

Forwarded: https://github.com/schwehr/libais/pull/252
Last-Update: 2025-07-13
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index ef7e9a7..7da3888 100755
--- a/setup.py
+++ b/setup.py
@@ -108,7 +108,7 @@ setup(
   },
 
   ext_modules=[AIS_MODULE],
-  packages=find_packages(exclude=['test']),
+  packages=find_packages(exclude=['test', 'test.*']),
   install_requires=['six'],
   extras_require={
       'tests': tests_require,
