From 701c2fe7d04a0a31ec9e70faab7bc9bf2d69d69d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 15 Jul 2016 16:16:02 +0200 Subject: [PATCH] appveyor: Don't patch registry In newer Appveyor images, only a key for Python 3.5 exists here. --- scripts/dev/ci/appveyor_install.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/dev/ci/appveyor_install.py b/scripts/dev/ci/appveyor_install.py index e15fc75ef..5bc87c59e 100644 --- a/scripts/dev/ci/appveyor_install.py +++ b/scripts/dev/ci/appveyor_install.py @@ -31,11 +31,6 @@ from __future__ import print_function import subprocess import urllib -try: - import _winreg as winreg -except ImportError: - winreg = None - def check_setup(executable): subprocess.check_call([executable, '-c', 'import PyQt5']) @@ -56,12 +51,6 @@ pyqt_url = ('http://www.qutebrowser.org/pyqt/' pyqt_version, qt_version)) urllib.urlretrieve(pyqt_url, r'C:\install-PyQt5.exe') -print("Fixing registry...") -with winreg.OpenKey(winreg.HKEY_CURRENT_USER, - r'Software\Python\PythonCore\3.4', 0, - winreg.KEY_WRITE) as key: - winreg.SetValue(key, 'InstallPath', winreg.REG_SZ, r'C:\Python34') - print("Installing PyQt5...") subprocess.check_call([r'C:\install-PyQt5.exe', '/S'])