Skip to content

Commit

Permalink
Apply Python 3.8 workaround for appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored and ifduyue committed Nov 13, 2019
1 parent a5fcb3e commit 4cb2140
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@ environment:


install:
- ps: |
Set-PSDebug -Trace 1
if ($Env:PYTHON_VERSION.StartsWith("3.8")) {
if ($Env:PYTHON_ARCH -eq "64") {
iex "choco install python3 --version=3.8 --no-progress --params /InstallDir:$Env:PYTHON"
} else {
iex "choco install python3 --version=3.8 --no-progress --params /InstallDir:$Env:PYTHON --x86"
}
}
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
Expand Down

0 comments on commit 4cb2140

Please sign in to comment.