Re: Is pip(x) used internally while Debian packaging?
Mechtilde Stehmann <[email protected]> Sat, 14 Feb 2026 14:39:31 +0100
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
Hello Christian, Am 14.02.26 um 12:59 schrieb [email protected]: > Hello Folks, > from my perspective as upstream maintainer I try to learn some > internals. Do you know and understand https://www.debian.org/doc/packaging-manuals/python-policy/ > > Imagine a modern Python application following PEP 517 & 621 > (pyproject.toml and src-layout). Translations are handled via GNU > gettext. Hatch(ling) is used as build system using "initialize" build > hook to compile po into mo files and add them into the wheel. > The application does access them via "importlib.resources". > > How does this interfere with Debian packaging? > I don't want to create extra work for people like you. > > In a Debian package the mo files do not belong into the wheel but into > /usr/share/locale. > > Is the Python build system relevant while Debian packing? Is pip used > internally while you create the deb file? Or do you use your own way > and the build system used by upstream does not matter? The main rule in Debian is: There is no internet connection during build time. All needed dependencies *must* be available in de Debian archive. > I know you have a lot of tools to add extra ways and exceptions to > overwrite upstream behavior. But I want to prevent that, spare your > time and make it right from the very first beginning. Is there already a similar package in the Debian archive? This can help to understand the process. Do you have the project online so we can review it like a peer review? > > Regards, > Christian Buhtz > Regards -- Mechtilde Stehmann ## Debian Developer ## PGP encryption welcome ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F
OpenPGP_signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE8ON/Pch6SZgomTnn8od7uhQarX8FAmmQexMACgkQ8od7uhQa rX/g0A/9HDviH9eAVVyGelYMS9zXsxWDK34RPAeGBCFcCFyVfI1wz60PlMLqdg3j Xv/3c79uIt1/3d4MsyYYtnxOiwzvgglMtu1C+sbbcwgoGibAxQhAcWXIHX12VgWQ U+zuDh1tyZp/1kC+peb/FX20Z9Kg9U8VbH2fLXKzx/v9u3hAyKjzXoEMqkhVX4id VhTZ0MyUPZ26fnoAxMnkHoRT1KaVCkmrxdjgnQSkHmoy3nF9XPEmbmg3eXlOOTmV caavlBtIG53YMiBxKi+QFMIHYEY04oCCMMJIA1BBmzGM9vKScPWJyyZeg7/4KBVc dqsVFo8RRbueIKlD6hzHqlmLyGeLD6QPfA3fraGLy4+1lrGI5U0MRwOSIgPj7G7K 77ernI6KwYqyuhGuJcjvBpJpm9ZFAbXmXQstEVNEXmL7ah4WKi3oVDh9CtNj46xe nO+qxQe7sZmXL/KiCQhbFrMWr0v+U4YeRLPUlQFzKvM+GbyxiL/qm0IyrCj1D+Nm O2BdK23GX4EbJrA4rcKXBrrvxBv7lqrrfS5+YDZxNsjm9UiRtIvPW3GSOs6pE5TT 5f1qRHqEZ/freVO5o1E618Jh5Q6cGL1kDtPWAcvTdu/M7SVf5uLSX2juGmQkav5V 1nG3d8sr6Zt+rlaZU8KFY6C+8BELyQmhzIDF/u15lt8tMH0+pu0= =FKqb -----END PGP SIGNATURE-----