From be606c8b1df591238f937860b00cbb284dd100c2 Mon Sep 17 00:00:00 2001 From: Martin Zibricky Date: Thu, 15 Jan 2015 18:09:04 +0100 Subject: [PATCH] Add dbus to check_dependencies.py for Linux. --- scripts/check_dependencies.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/check_dependencies.py b/scripts/check_dependencies.py index b1d6ac943..f97ad733b 100755 --- a/scripts/check_dependencies.py +++ b/scripts/check_dependencies.py @@ -47,6 +47,7 @@ except ImportError: nose = None IS_WIN = sys.platform.startswith('win') +IS_LIN = sys.platform.startswith('lin') VERS = { @@ -67,6 +68,12 @@ WIN32_MODULES = [ 'icu', ] +LINUX_MODULES = [ + # Optical drive detection. + 'dbus', +] + + MODULES = [ 'PyQt4', 'PyQt4.QtCore', @@ -229,6 +236,10 @@ def main(): print('Checking for Windows specific modules...') for m in WIN32_MODULES: check_module(m) + elif IS_LIN: + print('Checking for Linux specific modules...') + for m in LINUX_MODULES: + check_module(m) verify_versions() print_qt_image_formats() print_enchant_backends_and_languages()