summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorWulian <xiguawulian@gmail.com>2024-10-17 15:40:30 (GMT)
committerGitHub <noreply@github.com>2024-10-17 15:40:30 (GMT)
commit0cb20f2e7e867d5c34fc17dd5b8e51e8b0020bb3 (patch)
tree7efb6b02f42e8d2fbc42b6a3cf6e7e08d8a2f0cf /PCbuild
parentc124577ebe915a00de4033c0f7fa7c47621d79e0 (diff)
downloadcpython-0cb20f2e7e867d5c34fc17dd5b8e51e8b0020bb3.zip
cpython-0cb20f2e7e867d5c34fc17dd5b8e51e8b0020bb3.tar.gz
cpython-0cb20f2e7e867d5c34fc17dd5b8e51e8b0020bb3.tar.bz2
gh-125625: Check for `py -3.13` in PCbuild/find_python.bat (GH-125626)
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/find_python.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/find_python.bat b/PCbuild/find_python.bat
index 6db579f..d65d080 100644
--- a/PCbuild/find_python.bat
+++ b/PCbuild/find_python.bat
@@ -47,7 +47,7 @@
@rem If py.exe finds a recent enough version, use that one
@rem It is fine to add new versions to this list when they have released,
@rem but we do not use prerelease builds here.
-@for %%p in (3.12 3.11 3.10) 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.13 3.12 3.11 3.10) 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%