Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78f361f

Browse files
committed
Merge pull request #30 from pythonnet/appveyorfix
Fix appveyor problem with python 2.7.6 x86
2 parents 0863a61 + 6d284cc commit 78f361f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ install:
1414
- ps: (new-object net.webclient).DownloadFile($env:pythonurl, 'C:\python.msi')
1515
- ps: start-process -wait -FilePath msiexec.exe -ArgumentList "/qn /i C:\python.msi TARGETDIR=C:\Python"
1616
- ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:\get-pip.py')
17+
# appveyor has python 2.7.6 x86 preinstalled, but in the wrong directory, this works around this
18+
- ps: if ($env:pythonurl -eq "http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi") {mi c:\python27 c:\python}
1719
- C:\Python\python.exe c:\get-pip.py
1820
- C:\Python\Scripts\pip.exe install wheel
1921

0 commit comments

Comments
 (0)