[issue43976] Allow Python distributors to add custom site install schemes

Petr Viktorin report at bugs.python.org
Tue May 4 08:44:52 EDT 2021


Petr Viktorin <encukou at gmail.com> added the comment:

Sorry for not getting to this sooner, but 5 days is really tight for such a change.


With -S/-I, It would be great if sys.path only included packages installed as part of the OS, and not those installed by `sudo pip`. (Or `pip --user`, but that's covered).

It seems that with the current patch, pip will install into site-packages and there's no way to disable/change site-packages. Is that the case?

----------
nosy: +petr.viktorin

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43976>
_______________________________________


More information about the Python-bugs-list mailing list