add winrt for TTS work

https://github.com/ankitects/anki/pull/855

Also update psutil version
This commit is contained in:
Damien Elmes 2020-12-20 10:54:51 +10:00
parent e99a7c0f90
commit 165007180a
3 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,7 @@ fluent-syntax
# windows only
psutil; sys.platform == "win32"
pywin32; sys.platform == "win32"
winrt==1.0.20239.1; sys.platform == "win32" and platform_release == "10"
# transitive windows dependencies
atomicwrites; sys.platform == "win32" # via pytest

View File

@ -35,7 +35,7 @@ pathspec==0.8.1 # via black
pip-tools==5.4.0 # via -r requirements.in
pluggy==0.13.1 # via pytest
protobuf==3.14.0 # via -r requirements.in, mypy-protobuf
psutil==5.7.3 ; sys_platform == "win32" # via -r requirements.in
psutil==5.8.0 ; sys_platform == "win32" # via -r requirements.in
py==1.10.0 # via pytest
pylint==2.6.0 # via -r requirements.in
pyparsing==2.4.7 # via packaging
@ -57,6 +57,7 @@ typing-extensions==3.7.4.3 # via black, mypy
urllib3==1.26.2 # via requests
waitress==1.4.4 # via -r requirements.in
werkzeug==1.0.1 # via flask
winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10" # via -r requirements.in
wrapt==1.12.1 # via astroid
# The following packages are considered to be unsafe in a requirements file:

View File

@ -57,6 +57,7 @@ aqt_deps = [
"@bazel_tools//src/conditions:host_windows": [
requirement("psutil"),
requirement("pywin32"),
requirement("winrt"),
],
"//conditions:default": [],
})
@ -112,6 +113,7 @@ py_wheel(
"pyqtwebengine",
'psutil; sys.platform == "win32"',
'pywin32; sys.platform == "win32"',
'winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10"',
"anki==" + anki_version,
],
strip_path_prefixes = [