Re: Python 3.10 in Fedora 36+: sysconfig's "posix_prefix" install scheme now has /usr/local

2021-10-10 Thread Miro Hrončok
On 05. 10. 21 16:02, Miro Hrončok wrote: Hello Pythonistas, since Fedora 27, we have been patching Python to install packages to /usr/local/lib(64)/python3.X/site-packages if not in rpmbuild: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe The patch was a pragmatic hack in the

Re: Python 3.10 in Fedora 36+: sysconfig's "posix_prefix" install scheme now has /usr/local

2021-10-06 Thread Miro Hrončok
On 05. 10. 21 16:02, Miro Hrončok wrote: Hello Pythonistas, since Fedora 27, we have been patching Python to install packages to /usr/local/lib(64)/python3.X/site-packages if not in rpmbuild: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe The patch was a pragmatic hack in the

Python 3.10 in Fedora 36+: sysconfig's "posix_prefix" install scheme now has /usr/local

2021-10-05 Thread Miro Hrončok
Hello Pythonistas, since Fedora 27, we have been patching Python to install packages to /usr/local/lib(64)/python3.X/site-packages if not in rpmbuild: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe The patch was a pragmatic hack in the distutils module that proved to be working