[Pkg-bitcoin-commits] [python-quamash] 199/269: Add PyQt4 and PyQt5 to appveyor config

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository python-quamash.

commit a3c2894695e0b697e0768bfee2bc6a75788c7a83
Author: Mark Harviston <mark.harviston at gmail.com>
Date:   Thu Jan 15 14:58:52 2015 -0800

    Add PyQt4 and PyQt5 to appveyor config
    
    PyQt4 and PyQt5 (at least the newest versions of) are not available as
    binary installers on windows for python 3.3, so just python 3.4
    PySide/PyQt4/PySide and PySide for Python 3.3. (that's sufficient
    testing I think)
---
 appveyor.yml         | 10 ++++++++++
 appveyor/install.ps1 |  8 ++++++++
 2 files changed, 18 insertions(+)

diff --git a/appveyor.yml b/appveyor.yml
index ca5341e..4e3ec18 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -6,6 +6,16 @@ environment:
       PYTHON_ARCH: "32"
       QTIMPL: "PySide"
 
+    - PYTHON: "C:\\Python34"
+      PYTHON_VERSION: "3.4.1"
+      PYTHON_ARCH: "32"
+      QTIMPL: "PyQt4"
+
+    - PYTHON: "C:\\Python34"
+      PYTHON_VERSION: "3.4.1"
+      PYTHON_ARCH: "32"
+      QTIMPL: "PyQt5"
+
     - PYTHON: "C:\\Python33"
       PYTHON_VERSION: "3.3.5"
       PYTHON_ARCH: "32"
diff --git a/appveyor/install.ps1 b/appveyor/install.ps1
index 9def5b7..d9f2201 100644
--- a/appveyor/install.ps1
+++ b/appveyor/install.ps1
@@ -36,6 +36,14 @@ function main () {
     if($env:QTIMPL -eq "PySide"){
         InstallPackage $env:Python PySide
     }
+    if ($env:QTIMPL -eq "PyQt4"){
+        (new-object net.webclient).DownloadFile("http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt4-4.11.3-gpl-Py3.4-Qt4.8.6-x32.exe", "C:\install-PyQt4.exe")
+        Start-Process -FilePath C:\install-PyQt4.exe -ArgumentList "/S" -Wait -Passthru
+    }
+    if ($env:QTIMPL -eq "PyQt5"){
+        (new-object net.webclient).DownloadFile("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.4/PyQt5-5.4-gpl-Py3.4-Qt5.4.0-x32.exe/download", "C:\install-PyQt5.exe")
+        Start-Process -FilePath C:\install-PyQt5.exe -ArgumentList "/S" -Wait -Passthru
+    }
 }
 
 main

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git



More information about the Pkg-bitcoin-commits mailing list