From 6d284cc8be4c2a2576281586b9cf80b190b3d2f8 Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Wed, 19 Mar 2014 10:02:01 -0700 Subject: [PATCH] Fix appveyor problem with python 2.7.6 x86 --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) 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