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.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])