1534 altModulesList = [ |
1534 altModulesList = [ |
1535 # Tuple with alternatives, flag indicating it's ok to not be |
1535 # Tuple with alternatives, flag indicating it's ok to not be |
1536 # available (e.g. for 32-Bit Windows) |
1536 # available (e.g. for 32-Bit Windows) |
1537 (("PyQt5.QtWebEngineWidgets", ), sys.maxsize <= 2**32), |
1537 (("PyQt5.QtWebEngineWidgets", ), sys.maxsize <= 2**32), |
1538 ] |
1538 ] |
1539 optionalModulesList = {} |
1539 optionalModulesList = { |
|
1540 # key is pip project name |
|
1541 # value is tuple of package name, pip install constraint |
|
1542 "PyYAML": ("yaml", ""), |
|
1543 "toml": ("toml", ""), |
|
1544 } |
1540 # dict with tuples of package name and install constraint |
1545 # dict with tuples of package name and install constraint |
1541 if sys.platform != "darwin" and not ignorePyqt5Tools: |
1546 if sys.platform != "darwin" and not ignorePyqt5Tools: |
1542 optionalModulesList["qt5-applications"] = ("qt5_applications", |
1547 optionalModulesList["qt5-applications"] = ("qt5_applications", |
1543 "<5.15.2") |
1548 "<5.15.2") |
1544 |
1549 |