summaryrefslogtreecommitdiffstats
path: root/lang/python/python-pip/patches/002-pip-runner-pyc-fix.patch
blob: 4616fe0654e821c2d0ca8a9b0a9f7195c6a43014 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/pip/_internal/build_env.py
+++ b/src/pip/_internal/build_env.py
@@ -54,7 +54,7 @@ def get_runnable_pip() -> str:
         # case, we can use that directly.
         return str(source)
 
-    return os.fsdecode(source / "__pip-runner__.py")
+    return os.fsdecode(source / "__pip-runner__.pyc")
 
 
 def _get_system_sitepackages() -> Set[str]: