Fixed calling powershell

This commit is contained in:
Frank Morgner
2021-04-26 18:31:51 +02:00
parent 6c17d8e49d
commit 5c5ae4e356

View File

@@ -24,12 +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'
- $current_path = Get-Location | select -ExpandProperty Path - ps: $current_path = Get-Location | select -ExpandProperty Path
- $full_path = $current_path + "\swigwin-4.0.2.zip" - ps: $full_path = $current_path + "\swigwin-4.0.2.zip"
- $folder_path = $current_path + "\swig_win" - ps: $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) - ps: (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 - ps: Expand-Archive -LiteralPath $full_path -DestinationPath $folder_path
- $env:Path += ";"+$folder_path+"\swigwin-4.0.2" - ps: $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