Merge pull request #278 from glutanimate/pyqt512-packaging-changes

Address PyPI PyQt 5.12 packaging changes
This commit is contained in:
Damien Elmes 2019-02-16 13:04:31 +10:00 committed by GitHub
commit 63061f087e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ pyqt5-dev-tools) as well.
If you're on another platform or your distro has the wrong Qt version, you
can install PyQt with pip:
$ pip3 install sip pyqt5
$ pip3 install PyQt5 PyQtWebEngine
To use the development version:

View file

@ -13,7 +13,7 @@ from anki.utils import isWin, isMac
from PyQt5.Qt import *
# trigger explicit message in case of missing libraries
# instead of silently failing to import
from PyQt5.QtWebEngineWidgets import QWebEnginePage
from PyQt5.QtWebEngineWidgets import *
try:
from PyQt5 import sip
except ImportError: