add pyqtwebengine to wheel deps and bump minimum required pyqt

This commit is contained in:
Damien Elmes 2020-11-10 16:29:11 +10:00
parent 6e3f971ae1
commit f8f2839b55
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ From Anki 2.1.36 onwards:
```
$ python -m venv pyenv
$ pyenv/bin/pip install aqt anki pyqtwebengine
$ pyenv/bin/pip install aqt
$ pyenv/bin/python -c 'import aqt; aqt.run()'
```

View file

@ -93,7 +93,6 @@ py_wheel(
python_version = ">=3.8",
requires = [
# "pyaudio", # currently off as a pain to install on Windows for code completion
# "pyqtwebengine", # depending on this limits installable qt5 versions
"beautifulsoup4",
"requests",
"send2trash",
@ -102,7 +101,8 @@ py_wheel(
"flask",
"flask_cors",
"waitress",
"pyqt5>=5.9",
"pyqt5>=5.12",
"pyqtwebengine",
'psutil; sys.platform == "win32"',
'pywin32; sys.platform == "win32"',
"anki==" + anki_version,

View file

@ -24,7 +24,7 @@ call venv\scripts\activate
for %%i in (bazel-bin/pylib/anki/*.whl) do set "pylib=%%~i"
for %%i in (bazel-bin/qt/aqt/*.whl) do set "qt=%%~i"
echo Installing wheels...
venv\scripts\pip install bazel-bin/pylib/anki/%pylib% bazel-bin/qt/aqt/%qt% pyqtwebengine
venv\scripts\pip install bazel-bin/pylib/anki/%pylib% bazel-bin/qt/aqt/%qt%
IF %ERRORLEVEL% NEQ 0 exit /B 1
echo Importing...