diff options
author | Segev Finer <segev208@gmail.com> | 2019-11-20 17:25:45 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@python.org> | 2019-11-20 17:25:45 (GMT) |
commit | abce2d9bc6b990831d303f4cf9f2de8a6712a1fc (patch) | |
tree | 82114a7f13c569c2f044ba7fc7dcff97c5279f0a | |
parent | fff7bbfdb6b7c143b73b6b4b6b40e828c101110c (diff) | |
download | cpython-abce2d9bc6b990831d303f4cf9f2de8a6712a1fc.zip cpython-abce2d9bc6b990831d303f4cf9f2de8a6712a1fc.tar.gz cpython-abce2d9bc6b990831d303f4cf9f2de8a6712a1fc.tar.bz2 |
Add Python 3.8 to py based search in find_python.bat (GH-17188)
-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 40937a6..75413cd 100644 --- a/PCbuild/find_python.bat +++ b/PCbuild/find_python.bat @@ -37,7 +37,7 @@ @if NOT "%HOST_PYTHON%"=="" @%HOST_PYTHON% -Ec "import sys; assert sys.version_info[:2] >= (3, 6)" >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.7 3.6) 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.8 3.7 3.6) 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% |