1
0
Fork 0
mirror of synced 2024-11-21 07:45:35 -05:00

Remove Python 2 references in the Powershell shim

CPython >= 3.8 is required for proper Windows support.
This commit is contained in:
Kurt McKee 2022-05-06 16:33:12 -05:00
parent 74aca02157
commit 30f310e935
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ Set-Location $BASEDIR
git -C $DOTBOT_DIR submodule sync --quiet --recursive
git submodule update --init --recursive $DOTBOT_DIR
foreach ($PYTHON in ('python', 'python3', 'python2')) {
foreach ($PYTHON in ('python', 'python3')) {
# Python redirects to Microsoft Store in Windows 10 when not installed
if (& { $ErrorActionPreference = "SilentlyContinue"
![string]::IsNullOrEmpty((&$PYTHON -V))

View file

@ -9,7 +9,7 @@ $BASEDIR = $PSScriptRoot
Set-Location $BASEDIR
Set-Location $DOTBOT_DIR && git submodule update --init --recursive
foreach ($PYTHON in ('python', 'python3', 'python2')) {
foreach ($PYTHON in ('python', 'python3')) {
# Python redirects to Microsoft Store in Windows 10 when not installed
if (& { $ErrorActionPreference = "SilentlyContinue"
![string]::IsNullOrEmpty((&$PYTHON -V))