Package: python-pyspike Version: 0.9.0-1 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, The automated module detection in pyproject.toml has an incomplete exclusion list that results in the Debian package advertising in the egg metadata (top_level.txt) that the package also includes the "build" and "debian" modules; it obviously does not. The attached patch is ready to drop into debian/patches/ and fixes pyproject.toml so that it uses the positive `include` syntax instead of the more problematic `exclude` syntax. debian/patches/0002-Fix-pyproject.toml-to-only-collect-the-intended-modu.patch with this in place, only `pyspike` is included in top_level.txt as intended. regards Stuart
From: Stuart Prescott <[email protected]> Date: Sat, 14 Nov 2026 17:26:59 +1100 Subject: Fix pyproject.toml to only collect the intended module --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f7b5830..cb7a150 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,7 @@ include-package-data = true [tool.setuptools.packages.find] exclude = ["doc*", "test*", "examples*"] +include = ["pyspike*"] # Cython .c files are generated at build time (.gitignore excludes them) and # the resulting .so files are placed automatically. No package_data needed # for the wheel; MANIFEST.in handles inclusion of .pyx sources in the sdist.

