瀏覽代碼

Appveyor: install pywin32.

Gary van der Merwé 10 年之前
父節點
當前提交
515a4962c3
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      appveyor.yml

+ 6 - 0
appveyor.yml

@@ -2,9 +2,15 @@ environment:
   matrix:
     - PYTHON: "C:\\Python27"
       PYTHON_ARCH: "32"
+      PYWIN32_URL: "https://downloads.sourceforge.net/project/pywin32/pywin32/Build%20219/pywin32-219.win32-py2.7.exe"
 
     - PYTHON: "C:\\Python34"
       PYTHON_ARCH: "32"
+      PYWIN32_URL: "https://downloads.sourceforge.net/project/pywin32/pywin32/Build%20219/pywin32-219.win32-py3.4.exe"
+
+install:
+  - ps: (new-object net.webclient).DownloadFile($env:PYWIN32_URL, 'c:\\pywin32.exe')
+  - "%PYTHON%/Scripts/easy_install.exe c:\\pywin32.exe"
 
 build: off