From de3f713ccc8c2076da089bfdc0f85e2b71032955 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Thu, 21 Jan 2021 11:02:09 +0300 Subject: [PATCH 1/3] Create python3 symlink on Windows --- installers/win-setup-template.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installers/win-setup-template.ps1 b/installers/win-setup-template.ps1 index 3bfd433..9b6be66 100644 --- a/installers/win-setup-template.ps1 +++ b/installers/win-setup-template.ps1 @@ -121,6 +121,11 @@ if ($LASTEXITCODE -ne 0) { Throw "Error happened during Python installation" } +Write-Host "Create `python3` symlink" +if ($MajorVersion -ne "2") { + New-Item -Path "$PythonArchPath\python3.exe" -ItemType SymbolicLink -Value "$PythonArchPath\python.exe" +} + Write-Host "Install and upgrade Pip" $PythonExePath = Join-Path -Path $PythonArchPath -ChildPath "python.exe" cmd.exe /c "$PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip --no-warn-script-location" From f122228a65b991c7064d3322b65889f2d58fb675 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Thu, 21 Jan 2021 16:17:21 +0300 Subject: [PATCH 2/3] Update manifest --- versions-manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/versions-manifest.json b/versions-manifest.json index 4f0679e..f7b4687 100644 --- a/versions-manifest.json +++ b/versions-manifest.json @@ -876,7 +876,7 @@ { "version": "3.7.9", "stable": true, - "release_url": "https://github.com/actions/python-versions/releases/tag/3.7.9-86953", + "release_url": "https://github.com/vsafonkin/python-versions/releases/tag/3.7.9-1341055", "files": [ { "filename": "python-3.7.9-darwin-x64.tar.gz", @@ -909,13 +909,13 @@ "filename": "python-3.7.9-win32-x64.zip", "arch": "x64", "platform": "win32", - "download_url": "https://github.com/actions/python-versions/releases/download/3.7.9-86953/python-3.7.9-win32-x64.zip" + "download_url": "https://github.com/vsafonkin/python-versions/releases/download/3.7.9-1341055/python-3.7.9-win32-x64.zip" }, { "filename": "python-3.7.9-win32-x86.zip", "arch": "x86", "platform": "win32", - "download_url": "https://github.com/actions/python-versions/releases/download/3.7.9-86953/python-3.7.9-win32-x86.zip" + "download_url": "https://github.com/vsafonkin/python-versions/releases/download/3.7.9-1341055/python-3.7.9-win32-x86.zip" } ] }, From 4a64b9faa74ecbc5891dc0bd3f0f5fe8b48d7660 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Fri, 22 Jan 2021 11:01:41 +0300 Subject: [PATCH 3/3] Remove test changes in manifest --- versions-manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/versions-manifest.json b/versions-manifest.json index f7b4687..4f0679e 100644 --- a/versions-manifest.json +++ b/versions-manifest.json @@ -876,7 +876,7 @@ { "version": "3.7.9", "stable": true, - "release_url": "https://github.com/vsafonkin/python-versions/releases/tag/3.7.9-1341055", + "release_url": "https://github.com/actions/python-versions/releases/tag/3.7.9-86953", "files": [ { "filename": "python-3.7.9-darwin-x64.tar.gz", @@ -909,13 +909,13 @@ "filename": "python-3.7.9-win32-x64.zip", "arch": "x64", "platform": "win32", - "download_url": "https://github.com/vsafonkin/python-versions/releases/download/3.7.9-1341055/python-3.7.9-win32-x64.zip" + "download_url": "https://github.com/actions/python-versions/releases/download/3.7.9-86953/python-3.7.9-win32-x64.zip" }, { "filename": "python-3.7.9-win32-x86.zip", "arch": "x86", "platform": "win32", - "download_url": "https://github.com/vsafonkin/python-versions/releases/download/3.7.9-1341055/python-3.7.9-win32-x86.zip" + "download_url": "https://github.com/actions/python-versions/releases/download/3.7.9-86953/python-3.7.9-win32-x86.zip" } ] },