Daniel Garcia changed bug 1225660
What Removed Added
Status NEW IN_PROGRESS

Comment # 1 on bug 1225660 from Daniel Garcia
I've been working in an initial implementation of this with two patches, one
for the python interpreter and another one for the python-pip:

 * python311:
https://build.opensuse.org/projects/home:dgarcia:usr-local/packages/python311/files/bsc1225660-add-local-posix-path-scheme.patch?expand=1
 * python-pip:
https://build.opensuse.org/projects/home:dgarcia:usr-local/packages/python-pip/files/install-usr-local.patch?expand=1

With this patch, pip installs by default in "/usr/local/", and the usage to
create rpm packages works as expected installing in "/usr/".

In any case, the usage of pip with installed system packages will lead to
override or remove installed files by packages, because when removing, pip
looks for the python module in any installation path. But that's how pip works,
and if the user mess around with the system as root, we can't prevent system
breakage.


You are receiving this mail because: