ci_install: Clean up PyQt URL.

This commit is contained in:
Florian Bruhin 2015-11-18 08:28:35 +01:00
parent 3251bd8419
commit a845bf22ff

View File

@ -69,10 +69,12 @@ def check_setup(executable):
if 'APPVEYOR' in os.environ:
print("Getting PyQt5...")
urllib.urlretrieve(
'http://www.qutebrowser.org/pyqt/'
'PyQt5-5.5.1-gpl-Py3.4-Qt5.5.1-x32.exe',
r'C:\install-PyQt5.exe')
qt_version = '5.5.1'
pyqt_version = '5.5.1'
pyqt_url = ('http://www.qutebrowser.org/pyqt/'
'PyQt5-{}-gpl-Py3.4-Qt{}-x32.exe'.format(
pyqt_version, qt_version))
urllib.urlretrieve(pyqt_url, r'C:\install-PyQt5.exe')
print("Fixing registry...")
with winreg.OpenKey(winreg.HKEY_CURRENT_USER,