dh-python with multiple directories, multiple interpreters

Gard Spreemann <[email protected]> Tue, 09 Jun 2026 21:01:41 +0200
Newsgroups gmane.linux.debian.devel.python
Message-ID <87bjdj1qsq.fsf@moose>
--=-=-=
Content-Type: text/plain

Hi,

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.

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.

Has anyone done anything similar? Can the tooling support it, or do I
have to go against the grain of either dh-python or upstreams
arrangements?

Thanks a lot for any pointers.

PS: I'm not subscribed to the list, so please CC me in any replies.


 Best,
 Gard

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEz8XvhRCFHnNVtV6AnRFYKv1UjPoFAmooYxUSHGdzcHJAbm9u
ZW1wdHkub3JnAAoJEJ0RWCr9VIz6q5EQAMCONYEqTVTt3adqD8l0u5UNwa0nTCWZ
zrLt+QGcPrj5oesfOxMATdguivHf1BQ12M/DHSsSanL+xDrmiAi0cCX1l8sDt+Oi
nhpb6/idx5wnG+CKluX3SJrGRMR9Jdep6Q2pyLWaLy661xWevDyAHFstBRK658w/
AnYnKGKWx7/ABZXaVzSZHBjWiSfgEKF2KmJ16/Z8AG0W37swyQoJ6t1CNYYi2TpD
H+c/WUkftda5dsX1W7IefJ16XAT9rPgcasi90gwQpY2uS9F6tKHEUHGBT7MwSN5q
Mf8fKhdh+62XRYA/6ERzXTRsMfNc34QhOOex4mNKLkJDsvNTkRCTJrJqepEBsHJ8
m+boBda1YsTZUpPUo+vHcAFDaEg9LYOutEAW5mciP33GELNuuHnqWg0yoBO43Gsp
dErL0uJtpIatNnak4WgayZ1hJyOSvaU4+4C+jH6z5VZL1Y7XphbtK0EugCsQk09z
N2p9rT1DD9N9dLqs9fWFoWMj5/1exeb9+7i5tc49Aqm119qkbeGm4Hxn8gB/knJ5
ArWxyrod1bFYDdHlHZNPp2cDAIxOCbJSbN4nrq/ujUe1jqxPHF7edt0G+kwJbgNt
yBK6yV3AN/abHOi78NXRnyEGNPvctT8s+vFmuO75fRa3Odnf8nzyLBVVh5YypQX0
BN3JIPSsgRCD
=CpeX
-----END PGP SIGNATURE-----
--=-=-=--