浏览代码

Merge pull request #18944 from akien-mga/appveyor-pip

Fix scons installation on AppVeyor
Rémi Verschelde 7 年之前
父节点
当前提交
8998e5bdbc
共有 1 个文件被更改,包括 2 次插入1 次删除
  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: