Fix scons installation on AppVeyor

Seems like AppVeyor just upgraded pip and finally removed the
deprecated --egg switch.

(cherry picked from commit 79e76d8329)
This commit is contained in:
Rémi Verschelde 2018-05-16 22:59:23 +02:00 committed by Hein-Pieter van Braam
parent 94b4bb2a12
commit 31ce9ba07f
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ cache:
install: install:
- SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- pip install --egg scons # it will fail on AppVeyor without --egg flag - pip install -U wheel # needed for pip install scons to work, otherwise a flag is missing
- pip install scons
- if defined VS call "%VS%" %ARCH% # if defined - so we can also use mingw - if defined VS call "%VS%" %ARCH% # if defined - so we can also use mingw
before_build: before_build: