early-access version 2853
This commit is contained in:
11
externals/vcpkg/ports/python3/0010-ensurepip.patch
vendored
Executable file
11
externals/vcpkg/ports/python3/0010-ensurepip.patch
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
--- a/Lib/ensurepip/__init__.py 2021-10-05 00:40:46.000000000 +0700
|
||||
+++ b/Lib/ensurepip/__init__.py 2022-01-11 15:22:54.001498300 +0700
|
||||
@@ -86,6 +86,8 @@
|
||||
code = f"""
|
||||
import runpy
|
||||
import sys
|
||||
+import os
|
||||
+sys.executable = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path = {additional_paths or []} + sys.path
|
||||
sys.argv[1:] = {args}
|
||||
runpy.run_module("pip", run_name="__main__", alter_sys=True)
|
Reference in New Issue
Block a user