From 99d088eec30268daee2ecab94fe99df7d2fe4db1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 Jan 2021 11:11:20 +0100 Subject: [PATCH] Add Python scripts directory to PATH to avoid pip warnings They're really too annoying. --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 02b4834139..9ee5257449 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -74,8 +74,9 @@ build_script: c:\projects\wxwidgets\build\tools\appveyor.bat before_test: - ps: | Write-Output "Getting and launching httpbin." - C:\Python35\Scripts\pip.exe --disable-pip-version-check install httpbin - Start-Job -Name wx_httpbin { C:\Python35\python.exe -m httpbin.core 2>&1 > c:\projects\wxwidgets\httpbin.log } + $env:PATH = "C:\Python35;C:\Python35\Scripts;" + $env:PATH + pip.exe --disable-pip-version-check install httpbin + Start-Job -Name wx_httpbin { python.exe -m httpbin.core 2>&1 > c:\projects\wxwidgets\httpbin.log } Start-Sleep -Seconds 5 if (curl -s http://127.0.0.1:5000/ip > $null) { $env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000"