docker/windows: Install Python to a path without spaces

This is needed for Cerbero since Autotools cannot handle paths to
binaries that have spaces in them.
This commit is contained in:
Nirbheek Chauhan 2019-12-12 10:20:55 +05:30 committed by GStreamer Merge Bot
parent ddf9f8962f
commit cec8de9054

View file

@ -13,7 +13,7 @@ Remove-Item C:\vs_buildtools.exe -Force
Write-Host "Installing Python"
Invoke-WebRequest -Uri $python_dl_url -OutFile C:\python3-installer.exe
Start-Process C:\python3-installer.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1' -Wait
Start-Process C:\python3-installer.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1 TargetDir=C:\Python37' -Wait
Remove-Item C:\python3-installer.exe -Force
Write-Host "Installing Git"