]> granicus.if.org Git - graphviz/commitdiff
Add shim for python3.exe on Windows
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 23 Jul 2020 21:13:51 +0000 (23:13 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 28 Jul 2020 15:54:16 +0000 (17:54 +0200)
Chocolatey doesn't install python3 as python3.exe, only as python.exe.

.gitlab-ci.yml

index fd91e85679d08106f6283d17eea433f83d1d495c..c8bc5684eadc91e753bf72600367ec40a60fcbfb 100644 (file)
@@ -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"