Re: Question regarding binaries in /usr/lib/python3/dist-packages/

Soren Stoutner <[email protected]> Thu, 23 Apr 2026 12:04:31 -0700
Newsgroups gmane.linux.debian.devel.python
Organization Debian
Message-ID <7628900.f3S7pXKyVJ@soren-desktop>
On Thursday, April 23, 2026 11:53:06 AM Mountain Standard Time Andrey 
Rakhmatullin wrote:
> 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).

Yes, these executables are integral to the operation of Pyinstaller.  
PyInstaller bundles a Python application and all its dependencies into a 
single package.  The bootloaders are used as part of this bundling.

https://pyinstaller.org/en/stable/

Regarding upstream, they are very responsive and I have a wonderful 
relationship with them.  However, I felt it was appropriate to ask here first 
to make sure I knew what the standard Debian practice was before I contacted 
them.

Unless there is some strong recommendation that these executables need to be 
moved to /usr/libexec/, I am inclined to leave them where they are.

-- 
Soren Stoutner
[email protected]
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmnqbT8ACgkQwufLJ66w
tgMoLw/8DNWmj4zK9HYvW+5Rb6lAoar0ggxHO1Um6DdsV+a716gOE0ykXHoJocRR
beVcM4APrMktaHFiqKsCwXImzCHTP+IMnwMEwFPKyQRChyTsSnIwMkxpikkQf9q+
Onaw6hhXkviISk8diFGrT5N+8g7ywqW6VsRpeAA4/iHpO/ZpDp1JAXxgPVmKJoIM
0q4IPMHCPV1gsPnu8KJ4osYJm051iqzqGIV5XFJxlNEua96ufG8WdZbyf/yIxC0j
ftzdJkEvewMgD5NEZpEgtQrcoDdwzys2K17xmTv3KHLnAfyxrJ6Ws37MAnZ4JFLw
xjXEZPnmIZLQa7C/Wof+AIX5/NjTFEWMhXJOdXTm41KCEBJUiJMQ6BnwqFKeEftG
tbYmRZDHluAreFdGP1GdFPb4r62uZyb6mwL0YjF1mgOwCyxohUrDGZwbc82xQP6q
2lbLD53uuOB99vbfbqXMsSFHxvYxjz+E2KM9ojrTKHoPHVDMtI0s1gf8I9n+mQCz
DRmXPqJjP/hh7qxlL6RFzlHcYDO+c0gaJ7t5qV88hlxVJC+OfZ7A7QxyM+EVv+QW
N0QsX6NvpbL1RfLzWg9waqJ76CNIy4aY+v/OeXRDantVohdOs9TntqVpzumaK89F
jLgc8bDvfVDejAoSBRn4cOYJz6UFr626L8RNa9Clh9xDTbYu098=
=NVqB
-----END PGP SIGNATURE-----