Skip to content

Commit 8623a66

Browse files
committed
add python 3.8.0rc1 to windows possibilities
1 parent f0bff09 commit 8623a66

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,5 @@ test_script:
8080
- ps: .\install_python.ps1
8181
- set PYTHON=C:\Python37-x64
8282
- ps: .\install_python.ps1
83+
- set PYTHON=C:\Python38-x64
84+
- ps: .\install_python.ps1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
downloads/
22
*.orig
3+
*.swp

install_python.ps1

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ if ($env:PYTHON -eq "C:\Python${req_nodot}-x64") {
2121
$py_url = "https://www.python.org/ftp/python"
2222
Write-Host "Installing Python ${req_ver}$exe_suffix..." -ForegroundColor Cyan
2323
$exePath = "$env:TEMP\python-${req_ver}${exe_suffix}.exe"
24-
$downloadFile = "$py_url/${req_ver}/python-${req_ver}${exe_suffix}.exe"
24+
25+
if ($req_nodot -eq "38") {
26+
$downloadFile = "$py_url/${req_ver}/python-${req_ver}rc1${exe_suffix}.exe"
27+
}
28+
else {
29+
$downloadFile = "$py_url/${req_ver}/python-${req_ver}${exe_suffix}.exe"
30+
}
31+
2532
Write-Host "Downloading $downloadFile..."
2633
(New-Object Net.WebClient).DownloadFile($downloadFile, $exePath)
2734
Write-Host "Installing..."

0 commit comments

Comments
 (0)