1470 altModulesList = [ |
1470 altModulesList = [ |
1471 # Tuple with alternatives, flag indicating it's ok to not be |
1471 # Tuple with alternatives, flag indicating it's ok to not be |
1472 # available (e.g. for 32-Bit Windows) |
1472 # available (e.g. for 32-Bit Windows) |
1473 (("PyQt5.QtWebEngineWidgets", ), sys.maxsize <= 2**32), |
1473 (("PyQt5.QtWebEngineWidgets", ), sys.maxsize <= 2**32), |
1474 ] |
1474 ] |
1475 optionalModulesList = { |
1475 optionalModulesList = {} |
1476 "pyqt5-tools": "pyqt5_tools", |
1476 if sys.platform != "darwin": |
1477 } |
1477 optionalModulesList["pyqt5-tools"] = "pyqt5_tools" |
|
1478 |
1478 # check mandatory modules |
1479 # check mandatory modules |
1479 modulesOK = True |
1480 modulesOK = True |
1480 for impModule in impModulesList: |
1481 for impModule in impModulesList: |
1481 name = impModule.split(".")[1] |
1482 name = impModule.split(".")[1] |
1482 try: |
1483 try: |