Python 2.7 not supported (old MSVC++ 9.0 fails building klayout)

This commit is contained in:
Thomas Ferreira de Lima 2019-01-01 23:45:28 -05:00
parent 05d9b4c851
commit 2b2d845079
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 14 additions and 14 deletions

View File

@ -5,12 +5,12 @@ jobs:
vmImage: 'vs2017-win2016' # other options: 'macOS-10.13', 'ubuntu-16.04'
strategy:
matrix:
Python27:
python.version: '2.7'
# Python35:
# python.version: '3.5'
# Python36:
# python.version: '3.6'
# Python27:
# python.version: '2.7'
Python35:
python.version: '3.5'
Python36:
python.version: '3.6'
maxParallel: 3
steps:
@ -40,14 +40,14 @@ jobs:
#workingDirectory: # Optional
displayName: 'Downloading and Extracting KLayout bits'
- script: |
curl https://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi -o VCForPython27.msi
msiexec /i VCForPython27.msi /quiet
set "VS90COMNTOOLS=C:\Users\VssAdministrator\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC"
curl https://raw.githubusercontent.com/mattn/gntp-send/master/include/msinttypes/stdint.h -o "%VS90COMNTOOLS%\Include\stdint.h"
dir "%VS90COMNTOOLS%\Include"
condition: eq(variables['python.version'], '2.7')
displayName: 'Installing Microsoft Visual C++ Compiler for Python 2.7'
# - script: |
# curl https://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi -o VCForPython27.msi
# msiexec /i VCForPython27.msi /quiet
# set "VS90COMNTOOLS=C:\Users\VssAdministrator\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC"
# curl https://raw.githubusercontent.com/mattn/gntp-send/master/include/msinttypes/stdint.h -o "%VS90COMNTOOLS%\Include\stdint.h"
# dir "%VS90COMNTOOLS%\Include"
# condition: eq(variables['python.version'], '2.7')
# displayName: 'Installing Microsoft Visual C++ Compiler for Python 2.7'
- script: |
pip install --user --upgrade pip setuptools wheel