File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434@ if exist " %_Py_EXTERNALS_DIR% \pythonx86\tools\python.exe" (set PYTHON=" %_Py_EXTERNALS_DIR% \pythonx86\tools\python.exe" ) & (set _Py_Python_Source=found in externals directory) & goto :found
3535
3636@ rem If HOST_PYTHON is recent enough, use that
37- @ 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
37+ @ if NOT " %HOST_PYTHON% " == " " @ %HOST_PYTHON% -Ec " import sys; assert sys.version_info[:2] >= (3, 8 )" > nul 2 > nul && (set PYTHON=" %HOST_PYTHON% " ) && (set _Py_Python_Source=found as HOST_PYTHON) && goto :found
3838
3939@ rem If py.exe finds a recent enough version, use that one
40- @ 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
40+ @ for %% p in (3.9 3.8 ) do @ py -%% p -EV > nul 2 >& 1 && (set PYTHON=py -%% p) && (set _Py_Python_Source=found %% p with py.exe) && goto :found
4141
4242@ if NOT exist " %_Py_EXTERNALS_DIR% " mkdir " %_Py_EXTERNALS_DIR% "
4343@ set _Py_NUGET = %NUGET%
You can’t perform that action at this time.
0 commit comments