Re: dh-python with multiple directories, multiple interpreters
Andrey Rakhmatullin <[email protected]> Wed, 10 Jun 2026 00:06:44 +0500
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
--T8M2LvQqEG4l6lR7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 09, 2026 at 09:01:41PM +0200, Gard Spreemann wrote: >I maintain python3-gudhi. Recently, upstream has moved to a >pybuild-based setup for the Python part of their code (albeit one that >in turn invokes CMake). The unusual thing is that prior to building, one >has to generate various source trees (from the main source tree) in >which the various binary packages will be built. One separate tree is >generated for each supported Python version. What are the differences between these trees? This is not related to your= =20 question but may be important for the .deb we want to get. Mainly because= =20 normally a python3-foo deb ships only an universal=20 /usr/lib/python3/dist-packages/foo dir, maybe with per-interpreter .so=20 files inside, but with all other files shared between interpreters. >I can't seem to figure out how to have the dh-python sequencer invoke >the usual pybuild steps on *each* of these generated source directories >separately, and restricting to one particular Python version for each >one. pybuild is a debhelper build system so I assume you can simply call=20 dh_auto_* manually for each dir. --=20 WBR, wRAR --T8M2LvQqEG4l6lR7 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmooZEQtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG g+MP/0IeIV4FqFTSasr5cOTCGvqPP/l3uTcK1ZDWRnUtnDiABI6ZhaZ/5QC6bFki jurSczgj5WR31Lo2ctxcU9rXIDDBGwyqeuHjlA7qloFiAyA3vHQvKJPMyj9LZWr4 sP1LeguqsXOLoFFY9sMB1ADPYES9mh1riF+b0O/lCWNQT33djbnkV1XYO6Fo/mCR afFxMaelNUSv+l0TKhq1ZZj7q+jNVQJx7NGLLxEU2QdpTM0OPH0g7ISbPBLNN6G2 Qcj2i3irsV+qmGaXTI5Y783LpYVBFBxLNlq0Wx5oeayq7yFyzheMEvDI2sd7zCSH rEyhZAnqPDsYKqBVTZG9nIUPAF3zJ+2JDrAw5C3Ak4+FSLIlSvC6muBxf0OusQRB O+87LysdZ3RXak2MkRYlMhkr8jGtdoSD5ZwKQPDoW8HpwA1iQsS9fvYzngWGotsD uYvG7O+gervrsFDIrZ6mRMg+yk4kP9kXREo+vcZ6lVmYFHCVAg4L0nWXHZSrwdie lveG+BG2PvVWUAbQdkduw0YA8p1rhi9Duged7I7gefN5nqWdIcBFO42weMHmw1Fi Y2e05l6dHQwLkQODsl2AdHBNsEH3qyURcFbr8gqhMqwt6//5w49XHaT+YZQrBod+ OKj52JsPjuAjheNIJODkMkJWriSSYMDX7G9kDUYeDwoONcJ+ =NR/H -----END PGP SIGNATURE----- --T8M2LvQqEG4l6lR7--