avoid pulling qt5 in unless requested

This commit is contained in:
Damien Elmes 2021-10-16 16:54:34 +10:00
parent b697ef3044
commit d0feffde74
2 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,7 @@ py_test(
"//pylib/anki",
"//qt/aqt:aqt_without_data",
requirement("pylint"),
"@pyqt5//:pkg",
"@pyqt6//:pkg",
],
)
@ -141,6 +141,7 @@ py_binary(
],
imports = ["."],
main = "runanki.py",
tags = ["manual"],
deps = [
"//pylib/anki",
"//qt/aqt:aqt_with_data_qt5",

View File

@ -84,6 +84,7 @@ py_library(
name = "aqt_with_data_qt5",
srcs = _py_srcs_and_forms,
data = aqt_core_data + ["//qt/aqt/data"],
tags = ["manual"],
visibility = ["//visibility:public"],
deps = aqt_deps + [
"@pyqt5//:pkg",