forked from openlp/openlp
Add dbus package as required python module for Linux - updated script check_dependencies.
bzr-revno: 2528
This commit is contained in:
commit
864fb08dee
@ -40,6 +40,7 @@ except ImportError:
|
|||||||
nose = None
|
nose = None
|
||||||
|
|
||||||
IS_WIN = sys.platform.startswith('win')
|
IS_WIN = sys.platform.startswith('win')
|
||||||
|
IS_LIN = sys.platform.startswith('lin')
|
||||||
|
|
||||||
|
|
||||||
VERS = {
|
VERS = {
|
||||||
@ -60,6 +61,12 @@ WIN32_MODULES = [
|
|||||||
'icu',
|
'icu',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
LINUX_MODULES = [
|
||||||
|
# Optical drive detection.
|
||||||
|
'dbus',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
MODULES = [
|
MODULES = [
|
||||||
'PyQt4',
|
'PyQt4',
|
||||||
'PyQt4.QtCore',
|
'PyQt4.QtCore',
|
||||||
@ -222,6 +229,10 @@ def main():
|
|||||||
print('Checking for Windows specific modules...')
|
print('Checking for Windows specific modules...')
|
||||||
for m in WIN32_MODULES:
|
for m in WIN32_MODULES:
|
||||||
check_module(m)
|
check_module(m)
|
||||||
|
elif IS_LIN:
|
||||||
|
print('Checking for Linux specific modules...')
|
||||||
|
for m in LINUX_MODULES:
|
||||||
|
check_module(m)
|
||||||
verify_versions()
|
verify_versions()
|
||||||
print_qt_image_formats()
|
print_qt_image_formats()
|
||||||
print_enchant_backends_and_languages()
|
print_enchant_backends_and_languages()
|
||||||
|
Loading…
Reference in New Issue
Block a user