Update scripts/check_dependencies.py info

This commit is contained in:
Ken Roberts 2022-04-01 06:45:41 +00:00 committed by Tim Bentley
parent 3a60ccc9bc
commit 7e4ab873de

View File

@ -76,7 +76,7 @@ MODULES = [
'PyQt5.QtOpenGL', 'PyQt5.QtOpenGL',
'PyQt5.QtSvg', 'PyQt5.QtSvg',
'PyQt5.QtTest', 'PyQt5.QtTest',
'PyQt5.QtWebEngineWidgets', ('PyQt5.QtWebEngineWidgets', '(PyQtWebEngine on PyPI)'),
'PyQt5.QtMultimedia', 'PyQt5.QtMultimedia',
'appdirs', 'appdirs',
'sqlalchemy', 'sqlalchemy',
@ -108,9 +108,8 @@ OPTIONAL_MODULES = [
('pysword', '(import SWORD bibles)'), ('pysword', '(import SWORD bibles)'),
('uno', '(LibreOffice/OpenOffice support)'), ('uno', '(LibreOffice/OpenOffice support)'),
# development/testing modules # development/testing modules
('jenkins', '(access jenkins api)'),
('pytest', '(testing framework)'), ('pytest', '(testing framework)'),
('pytestqt', '(testing framework)'), ('pytestqt', '(PyQt testing framework - pytest-qt on PyPI)'),
('flake8', '(linter)') ('flake8', '(linter)')
] ]
@ -239,6 +238,9 @@ def main():
verify_python() verify_python()
print('Checking for modules...') print('Checking for modules...')
for m in MODULES: for m in MODULES:
if isinstance(m, (tuple, list)):
check_module(m[0], text=m[1])
else:
check_module(m) check_module(m)
print('Checking for optional modules...') print('Checking for optional modules...')
for m in OPTIONAL_MODULES: for m in OPTIONAL_MODULES: