From: Magnus Jacobsson Date: Sun, 9 Jan 2022 17:02:12 +0000 (+0100) Subject: ci: install python with nuget in windows_build_definition job template X-Git-Tag: 3.0.0~78^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=853fbfab2ab9ccce0131f47fa16cada665f46a75;p=graphviz ci: install python with nuget in windows_build_definition job template --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7db8808a9..b7f5fa756 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,9 +124,8 @@ portable-source: # disable Windows Defender - Add-MpPreference -ExclusionPath 'C:\' - $PSDefaultParameterValues['Out-File:Encoding'] = 'utf8' - - choco config set cacheLocation choco-cache - - choco install --yes --no-progress --params "/InstallDir:C:\Python3" python3 - - $env:Path = "C:\Python3;" + $env:Path + - nuget install python -ExcludeVersion -OutputDirectory C:\ + - $env:Path = "C:\python\tools;" + $env:Path - python --version - python -m pip install --requirement requirements.txt # Toolchain definitions