From 830f07ebf527a645251ec4a222bf8b77fafbf353 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Thu, 23 Jul 2020 23:13:51 +0200 Subject: [PATCH] Add shim for python3.exe on Windows Chocolatey doesn't install python3 as python3.exe, only as python.exe. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da53b9c38..f5c41e224 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -67,6 +67,7 @@ portable-source: # Install and set PATH - choco install --no-progress -y activeperl - choco install --no-progress -y python3 + - C:\ProgramData\chocolatey\tools\shimgen.exe -o=C:\Python38\python3.exe -p=C:\Python38\python.exe - choco install --no-progress -y grep - $Env:Path += ";C:\Python38" - $Env:Path += ";C:\Python38\Scripts" -- 2.40.0