[vpicc] Fix swig download path and use recommended PS applet

This commit is contained in:
fabio rodrigues
2020-08-18 17:05:27 +01:00
parent d6d8f31645
commit cec72cd29a

View File

@@ -24,9 +24,12 @@ install:
#- ps: ren 'C:\Program Files (x86)\Windows Kits\10\include\00wdf' 'wdf' #- ps: ren 'C:\Program Files (x86)\Windows Kits\10\include\00wdf' 'wdf'
- Start-FileDownload "https://kumisystems.dl.sourceforge.net/project/swig/swigwin/swigwin-4.0.2/swigwin-4.0.2.zip" - $current_path = Get-Location | select -ExpandProperty Path
- Expand-Archive -LiteralPath swigwin-4.0.2.zip -DestinationPath swig_folder - $full_path = $current_path + "\swigwin-4.0.2.zip"
- $env:Path += ".\swig_folder" - $folder_path = $current_path + "\swig_win"
- (new-object net.webclient).DownloadFile("https://kumisystems.dl.sourceforge.net/project/swig/swigwin/swigwin-4.0.2/swigwin-4.0.2.zip", $full_path)
- Expand-Archive -LiteralPath $full_path -DestinationPath $folder_path
- $env:Path += ";"+$folder_path+"\swigwin-4.0.2"
- 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