diff --git a/tools/bootstrap/python311._pth b/tools/bootstrap/python311._pth new file mode 100644 index 00000000000..abba38c9271 --- /dev/null +++ b/tools/bootstrap/python311._pth @@ -0,0 +1,5 @@ +python311.zip +. +..\..\.. + +import site diff --git a/tools/bootstrap/python_.ps1 b/tools/bootstrap/python_.ps1 index 505fb92194d..47d1d4b46de 100644 --- a/tools/bootstrap/python_.ps1 +++ b/tools/bootstrap/python_.ps1 @@ -50,7 +50,7 @@ if (!(Test-Path $PythonExe -PathType Leaf)) { [System.IO.Compression.ZipFile]::ExtractToDirectory($Archive, $PythonDir) # Copy a ._pth file without "import site" commented, so pip will work - Copy-Item "$Bootstrap/python37._pth" $PythonDir ` + Copy-Item "$Bootstrap/python311._pth" $PythonDir ` -ErrorAction Stop Remove-Item $Archive