diff --git a/appveyor.yml b/appveyor.yml index c89e21d65..2b869b8d8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,6 +14,8 @@ install: - ps: (new-object net.webclient).DownloadFile($env:pythonurl, 'C:\python.msi') - ps: start-process -wait -FilePath msiexec.exe -ArgumentList "/qn /i C:\python.msi TARGETDIR=C:\Python" - ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:\get-pip.py') + # appveyor has python 2.7.6 x86 preinstalled, but in the wrong directory, this works around this + - ps: if ($env:pythonurl -eq "http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi") {mi c:\python27 c:\python} - C:\Python\python.exe c:\get-pip.py - C:\Python\Scripts\pip.exe install wheel