Browse Source

Fix scons installation on AppVeyor

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

(cherry picked from commit 79e76d8329b655d9cce03989a88b0d38e523dd6f)
Rémi Verschelde 7 năm trước cách đây
mục cha
commit
7c8849f4e9
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .appveyor.yml

+ 2 - 1
.appveyor.yml

@@ -17,7 +17,8 @@ cache:
 
 install:
   - 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
 
 before_build: