Control: forwarded -1 https://github.com/pypa/pip/issues/10978
Hi Martin (2023.05.05_13:03:43_+0200) > I also tried --prefix=/opt which then gets me /opt/local/{bin,lib}. So this > behaviour directly contradicts the --help documentation: ... > So this "/local" thing is both sticky and hard to avoid.. Yeah, the cause of this is our posix_local sysconfig scheme. Ideally pip should have a --scheme argument. At least in Debian, where we have multiple schemes interacting with each other, that could make sense. Or pip could use some knowledge of Debian's schemes to select posix_prefix / posix_local as appropriate... This all gets messy, I'm afraid. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272