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'])