File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ When calling ``find_python.bat `` with ``-q `` it did not properly silence the output of nuget. That is now fixed.
Original file line number Diff line number Diff line change 52
52
@ if " %_Py_NUGET% " == " " (set _Py_NUGET=%_Py_EXTERNALS_DIR% \nuget.exe)
53
53
@ if " %_Py_NUGET_URL% " == " " (set _Py_NUGET_URL=https://aka.ms/nugetclidl)
54
54
@ if NOT exist " %_Py_NUGET% " (
55
- @ echo Downloading nuget...
55
+ @ if not " %_Py_Quiet% " == " 1 " @ echo Downloading nuget...
56
56
@ rem NB: Must use single quotes around NUGET here, NOT double!
57
57
@ rem Otherwise, a space in the path would break things
58
58
@ rem If it fails, retry with any available copy of Python
63
63
)
64
64
65
65
@ if not " %_Py_Quiet% " == " 1" @ echo Installing Python via nuget...
66
- @ " %_Py_NUGET% " install pythonx86 -ExcludeVersion -OutputDirectory " %_Py_EXTERNALS_DIR% "
66
+ @ if not " %_Py_Quiet% " == " 1" (
67
+ @ " %_Py_NUGET% " install pythonx86 -ExcludeVersion -OutputDirectory " %_Py_EXTERNALS_DIR% "
68
+ ) else (
69
+ @ " %_Py_NUGET% " install pythonx86 -Verbosity quiet -ExcludeVersion -OutputDirectory " %_Py_EXTERNALS_DIR% "
70
+ )
67
71
@ rem Quote it here; it's not quoted later because "py -x.y" wouldn't work
68
72
@ if not errorlevel 1 (set PYTHON=" %_Py_EXTERNALS_DIR% \pythonx86\tools\python.exe" ) & (set _Py_Python_Source=found on nuget.org) & goto :found
69
73
You can’t perform that action at this time.
0 commit comments