[vpicc] update Appveyor with better swig install

choco install of swig only give us the executable, not the libraries needed for package compilation

Best way is to direct download it from sourceforge, extract it to a folder and then add that folder to PATH env variable.
This commit is contained in:
fabio rodrigues
2020-08-18 16:15:52 +01:00
parent 9b310f00d3
commit db8d6f2699

View File

@@ -23,7 +23,10 @@ install:
# BUGFIX: wdf directory was renamed to 00wdf, rename it back (see github.com/appveyor/ci/issues/414) # BUGFIX: wdf directory was renamed to 00wdf, rename it back (see github.com/appveyor/ci/issues/414)
#- ps: ren 'C:\Program Files (x86)\Windows Kits\10\include\00wdf' 'wdf' #- ps: ren 'C:\Program Files (x86)\Windows Kits\10\include\00wdf' 'wdf'
- choco install swig
- (new-object net.webclient).DownloadFile('https://sourceforge.net/projects/swig/', '..\swig.zip')
- Expand-Archive -LiteralPath ..\swig.zip -DestinationPath ..\swig_folder
- $env:Path += "..\swig_folder"
- python -m pip install --upgrade pip - python -m pip install --upgrade pip
- pip install virtualenv - pip install virtualenv
- pip install -U setuptools - pip install -U setuptools