mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
gh-139769: Update PCBuild/find_python.bat
to allow discovery of Python 3.14 (GH-139770)
Enable 3.14 py.exe can be use on PCBuild
(cherry picked from commit 570d17259f
)
Co-authored-by: Wulian233 <1055917385@qq.com>
This commit is contained in:
parent
5a98f85c9a
commit
b6c14bc187
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
@rem If py.exe finds a recent enough version, use that one
|
@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 It is fine to add new versions to this list when they have released,
|
||||||
@rem but we do not use prerelease builds here.
|
@rem but we do not use prerelease builds here.
|
||||||
@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
|
@for %%p in (3.14 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%"
|
@if NOT exist "%_Py_EXTERNALS_DIR%" mkdir "%_Py_EXTERNALS_DIR%"
|
||||||
@set _Py_NUGET=%NUGET%
|
@set _Py_NUGET=%NUGET%
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue