We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aaea4e commit 1a534b1Copy full SHA for 1a534b1
src/pip/_internal/locations/__init__.py
@@ -64,6 +64,8 @@ def _looks_like_bpo_44860() -> bool:
64
65
def _looks_like_red_hat_patched_platlib_purelib(scheme: Dict[str, str]) -> bool:
66
platlib = scheme["platlib"]
67
+ if "/$platlibdir/" in platlib and hasattr(sys, "platlibdir"):
68
+ platlib = platlib.replace("/$platlibdir/", f"/{sys.platlibdir}/")
69
if "/lib64/" not in platlib:
70
return False
71
unpatched = platlib.replace("/lib64/", "/lib/")
0 commit comments