Re: Question regarding binaries in /usr/lib/python3/dist-packages/
Andrey Rakhmatullin <[email protected]> Thu, 23 Apr 2026 23:53:06 +0500
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Apr 23, 2026 at 11:09:57AM -0700, Soren Stoutner wrote: >X: python3-pyinstaller: executable-in-usr-lib [usr/lib/python3/dist-packages/ >PyInstaller/bootloader/Linux-64bit-intel/run] >X: python3-pyinstaller: executable-in-usr-lib [usr/lib/python3/dist-packages/ >PyInstaller/bootloader/Linux-64bit-intel/run_d] >I do not know how easy it would be to relocate these files. Before reaching >out to the Pyinstaller upstream to see of what it would take to relocate these >files, I wanted to ask the Debian Python Team how this is generally handled >with Python packages. I don't think there is any need to "generally handle this", to be honest. > Are executables typically relocated to /usr/libexec/? Executables are typically generated in /usr/bin directly. Just as executable helpers suitable for libexec are rare in general and even more rare in libraries, they must be very rare in Python library packages so I wouldn't be surprised if this situation have never occured in Debian packages at all. On the other hand, shipping data of various kinds in dist-packages/ is relatively popular and usually tolerated. This seems to be similar to it, and to be honest I would make sure these executables are meant to be executed at all, as opposed to being included into the pyinstaller output (see "bootloader"), before e.g. contacting the upstream (or the DPT, but that's too late). -- WBR, wRAR
signature.asc
(application/pgp-signature, 894 B)
-----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmnqao0tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG Gi0QAMm9zAwyl9MlzQN9WtdMOVg3k2duwnG0pDbb9Hyz4gms5LDx9mpD9jbn3yj3 xknxIkGB2sfZQCf4f+qWmfr8BT9hitUT8bAjRjBjxV4HjR+6d4n+y9f/k0swLYlm MACDa6zhCW1rrutgJFT4vKWEUeezRdW0HxCUMQ7Zt8liD6p6gAF3pddIt7hgXpGj QsZ6NgpaEbOnRg22Exa0XHZYDxA+ON4EspKVC3SMrhTo0xPXWwwccBfxO7TvtklC UDQ7H4jljr7D0yf3sImL/YtOvVo0UUxjUcXD90vLl2yzrzZkMUmJC3ra5beTRXTb 2JjDqo9P/3TeNIhgHu5bI1ErF3JoxFEVtWn6UD6PKFCZd0NEs3NZrXDuWvBYCMkE 1Pmpb1Iu7UbxUdm1AZ3NLCzRkppFCxsRWxlx7toFApRfIU9DLqZpYGPiuNrqw2BW Z9qZecgXsRSJ4MkCCWzeKa+h+TuEpEvauUpdko+Oc53INPvzqGHlCfNPl+te7zvh udCzjPFBgnUCKCbIc1zdtcQ+k6f0/AnoWoy2I14JdLNqZfPN1+2Va026m0VdukDp XI7aCnxB4/4EfRcqN55qIu5OcBCqi8u/qp/AI5HwTDIFf8qmt2XyIZUNBTP3peiS SQL657MVxuuyh44yInRoFtQgDVOehqdysIYGogjnbMJJQR14 =MaN3 -----END PGP SIGNATURE-----