Package: dh-python
Version: 5.20230130
Severity: wishlist
X-Debbugs-Cc: pradyu...@gmail.com

PEP-376 specifies an informational INSTALLER file for .dist-info
directories:
https://peps.python.org/pep-0376/#installer

Currently pyproject built packages, installed via python3-installer
won't have any INSTALLER file. Other Debian packages may have things in
INSTALLER, based on the way they were built or installed (for example
python3-typeshed lists "pip" everywhere).

The pip project proposes that we write a record in there for
Debian-packaged Python modules. That could be the string "debian"?

At the moment, I don't think this would affect much, but it would give
python installers more information about what's going on. In pip's case,
it can disable its own "outdated version of pip" notifications when it
detects that it wasn't installed by pip. That allows us to drop a patch
in pip.

SR

Reply via email to