Skip to content
Browse files

appveyor: Don't patch registry

In newer Appveyor images, only a key for Python 3.5 exists here.
  • Loading branch information
The-Compiler committed Jul 15, 2016
1 parent d710a98 commit 701c2fe7d04a0a31ec9e70faab7bc9bf2d69d69d
Showing with 0 additions and 11 deletions.
  1. +0 −11 scripts/dev/ci/
@@ -31,11 +31,6 @@
import subprocess
import urllib

import _winreg as winreg
except ImportError:
winreg = None

def check_setup(executable):
subprocess.check_call([executable, '-c', 'import PyQt5'])
@@ -56,12 +51,6 @@ def pip_install(pkg):
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'])

0 comments on commit 701c2fe

Please sign in to comment.