diff options
author | Stanislav Syekirin <syekirin@gmail.com> | 2023-04-11 19:20:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 19:20:46 (GMT) |
commit | ebc81034278ea186b4110c7dbf6d1c2a0ada9398 (patch) | |
tree | e1e31650c1ea745f5037f9f3b912ce48cfefc7ba /PCbuild/find_python.bat | |
parent | b57105ae33e1f61e6bdf0eec45c4135d067b9b22 (diff) | |
download | cpython-ebc81034278ea186b4110c7dbf6d1c2a0ada9398.zip cpython-ebc81034278ea186b4110c7dbf6d1c2a0ada9398.tar.gz cpython-ebc81034278ea186b4110c7dbf6d1c2a0ada9398.tar.bz2 |
gh-103088: Sanitize venv paths when using MSYS or Cygwin Bash (GH-103325)
Diffstat (limited to 'PCbuild/find_python.bat')
-rw-r--r-- | PCbuild/find_python.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/find_python.bat b/PCbuild/find_python.bat index 11d6cba..7af5503 100644 --- a/PCbuild/find_python.bat +++ b/PCbuild/find_python.bat @@ -42,7 +42,7 @@ @if NOT "%HOST_PYTHON%"=="" @%HOST_PYTHON% -Ec "import sys; assert sys.version_info[:2] >= (3, 9)" >nul 2>nul && (set PYTHON="%HOST_PYTHON%") && (set _Py_Python_Source=found as HOST_PYTHON) && goto :found @rem If py.exe finds a recent enough version, use that one -@for %%p in (3.10 3.9) do @py -%%p -EV >nul 2>&1 && (set PYTHON=py -%%p) && (set _Py_Python_Source=found %%p with py.exe) && goto :found +@for %%p in (3.11 3.10 3.9) do @py -%%p -EV >nul 2>&1 && (set PYTHON=py -%%p) && (set _Py_Python_Source=found %%p with py.exe) && goto :found @if NOT exist "%_Py_EXTERNALS_DIR%" mkdir "%_Py_EXTERNALS_DIR%" @set _Py_NUGET=%NUGET% |