From 7e4ab873dec0c11fa827794d96be54bd0af579e3 Mon Sep 17 00:00:00 2001 From: Ken Roberts Date: Fri, 1 Apr 2022 06:45:41 +0000 Subject: [PATCH] Update scripts/check_dependencies.py info --- scripts/check_dependencies.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/check_dependencies.py b/scripts/check_dependencies.py index 787818ded..6fa4de04c 100755 --- a/scripts/check_dependencies.py +++ b/scripts/check_dependencies.py @@ -76,7 +76,7 @@ MODULES = [ 'PyQt5.QtOpenGL', 'PyQt5.QtSvg', 'PyQt5.QtTest', - 'PyQt5.QtWebEngineWidgets', + ('PyQt5.QtWebEngineWidgets', '(PyQtWebEngine on PyPI)'), 'PyQt5.QtMultimedia', 'appdirs', 'sqlalchemy', @@ -108,9 +108,8 @@ OPTIONAL_MODULES = [ ('pysword', '(import SWORD bibles)'), ('uno', '(LibreOffice/OpenOffice support)'), # development/testing modules - ('jenkins', '(access jenkins api)'), ('pytest', '(testing framework)'), - ('pytestqt', '(testing framework)'), + ('pytestqt', '(PyQt testing framework - pytest-qt on PyPI)'), ('flake8', '(linter)') ] @@ -239,7 +238,10 @@ def main(): verify_python() print('Checking for modules...') for m in MODULES: - check_module(m) + if isinstance(m, (tuple, list)): + check_module(m[0], text=m[1]) + else: + check_module(m) print('Checking for optional modules...') for m in OPTIONAL_MODULES: check_module(m[0], text=m[1])