Skip to content

Commit

Permalink
Merge pull request #70 from thewtex/windows-python-3.7
Browse files Browse the repository at this point in the history
Windows Python 3.7
  • Loading branch information
jcfr committed Jul 31, 2018
2 parents 109334d + 70f7955 commit 41b830c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions windows/install-python.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ param (
Start-Process $installerPath -ArgumentList "TargetDir=$targetDir DefaultAllUsersTargetDir=$targetDir InstallAllUsers=1 Include_launcher=0 PrependPath=$pythonPrependPath Shortcuts=0 /passive" -NoNewWindow -Wait
}

function Install-Python-27-33-34 {
function Install-Python-27-34 {
param (
[string]$targetDir,
[string]$installerName,
Expand Down Expand Up @@ -189,9 +189,9 @@ if(!($pythonPrependPath -match "^(0|1)$")){
}

#
# Python 2.7, 3.3 and 3.4
# Python 2.7 and 3.4
#
$exeVersions = @("2.7.12", "3.3.5", "3.4.4")
$exeVersions = @("2.7.12", "3.4.4")
foreach ($version in $exeVersions) {

$split = $version.Split(".")
Expand All @@ -210,7 +210,7 @@ foreach ($version in $exeVersions) {
$targetDir = "C:\Python$($majorMinor)-x64"
$installerName = "python-$($version).amd64.msi"
$downloadURL = "https://www.python.org/ftp/python/$($version)/$($installerName)"
Install-Python-27-33-34 $targetDir $installerName $downloadURL
Install-Python-27-34 $targetDir $installerName $downloadURL
}

#
Expand All @@ -220,14 +220,14 @@ foreach ($version in $exeVersions) {
$targetDir = "C:\Python$($majorMinor)-x86"
$installerName = "python-$($version).msi"
$downloadURL = "https://www.python.org/ftp/python/$($version)/$($installerName)"
Install-Python-27-33-34 $targetDir $installerName $downloadURL
Install-Python-27-34 $targetDir $installerName $downloadURL
}
}

#
# Python 3.5 and 3.6
# Python 3.5, 3.6, and 3.7
#
$exeVersions = @("3.5.3", "3.6.1")
$exeVersions = @("3.5.3", "3.6.6", "3.7.0")
foreach ($version in $exeVersions) {

$split = $version.Split(".")
Expand Down

0 comments on commit 41b830c

Please sign in to comment.