Skip to content

Commit

Permalink
[3.12] gh-125625: Check for py -3.13 in PCbuild/find_python.bat (GH…
Browse files Browse the repository at this point in the history
…-125649)

(cherry picked from commit 0cb20f2)

Co-authored-by: Wulian <[email protected]>
  • Loading branch information
miss-islington and Wulian233 authored Oct 17, 2024
1 parent fb1b92b commit 8f72f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PCbuild/find_python.bat
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,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%
Expand Down

0 comments on commit 8f72f33

Please sign in to comment.