Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17399
| Path | csiph.com!pasdenom.info!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Stefano Rivera <stefanor@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Is pip(x) used internally while Debian packaging? |
| Date | Sat, 14 Feb 2026 15:00:01 +0100 |
| Message-ID | <MoolH-xuE-1@gated-at.bofh.it> (permalink) |
| References | <MomDh-wyY-53@gated-at.bofh.it> |
| X-Original-To | c.buhtz@posteo.jp |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sat Feb 14 13:54:35 2026 |
| Old-Return-Path | <stefano@rivera.za.net> |
| X-Amavis-Spam-Status | No, score=-105.489 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SARE_MSGID_LONG45=0.893, SARE_MSGID_LONG50=0.726, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| X-Greylist | delayed 422 seconds by postgrey-1.36 at bendel; Sat, 14 Feb 2026 13:54:18 UTC |
| Mail-Followup-To | c.buhtz@posteo.jp, debian-python@lists.debian.org |
| X-Gpg-Public-Key | http://www.rivera.za.net/stefano.gpg |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20250510 |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/23658 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/c24zx35flzzhvoryhchego2ou6bkr5ygd7qfmvfhnhy6og5hkd@5eicjecj6gs3 |
| Approved | robomod@news.nic.it |
| Lines | 38 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Sat, 14 Feb 2026 13:47:14 +0000 |
| X-Original-Message-ID | <c24zx35flzzhvoryhchego2ou6bkr5ygd7qfmvfhnhy6og5hkd@5eicjecj6gs3> |
| X-Original-References | <4fCndy21GYz9rxK@submission02.posteo.de> |
| Xref | csiph.com linux.debian.maint.python:17399 |
Show key headers only | View raw
Hi c.buhtz (2026.02.14_11:59:50_+0000) >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. If it's package data inside the package, it should all end up in the right place for importlib.resources to find. Python build tools don't provide a mechanism to install things like manpages into the right place (because python packaging isn't aimed at a complete system, but a Python environment). So the packager has to move things around, themselves. >In a Debian package the mo files do not belong into the wheel but into >/usr/share/locale. I don't know the correct pattern for this offhand, but I'd imagine that you can try both a path located via improtlib.resources, and the default localedir, when configuring your translations. >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? Pip is not used. We use "build", another PEP 517 implementation, to build a wheel, that we then install the contents of. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar
Is pip(x) used internally while Debian packaging? <c.buhtz@posteo.jp> - 2026-02-14 13:10 +0100
Re: Is pip(x) used internally while Debian packaging? Mechtilde Stehmann <mechtilde@debian.org> - 2026-02-14 14:40 +0100
Re: Is pip(x) used internally while Debian packaging? c.buhtz@posteo.jp - 2026-02-14 17:10 +0100
Re: Is pip(x) used internally while Debian packaging? Stefano Rivera <stefanor@debian.org> - 2026-02-14 15:00 +0100
csiph-web