Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Stuart Prescott
Sat, 14 Nov 2026 06:40
Bug#1153950: python-pyspike: pyspike claims to also include 'build' and 'debian' modules by accident
Author: Stuart Prescott
Date: Sat, 14 Nov 2026 06:40
Date: Sat, 14 Nov 2026 06:40
61 lines
3615 bytes
3615 bytes
This is a multi-part MIME message sent by reportbug. --===============7533973923607986936== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: python-pyspike Version: 0.9.0-1 Severity: normal X-Debbugs-Cc: stuart@debian.org 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 --===============7533973923607986936== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0002-Fix-pyproject.toml-to-only-collect-the-intended-modu.patch" From: Stuart Prescott <stuart@debian.org> 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. --===============7533973923607986936==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads