scripts/install.py

branch
eric7
changeset 8553
10d31e5ce9e5
parent 8548
c87eb20797b7
child 8566
0df55126fdf4
equal deleted inserted replaced
8552:f9cf1ff5126a 8553:10d31e5ce9e5
1702 ' eric.'.format(versionToStr(vers))) 1702 ' eric.'.format(versionToStr(vers)))
1703 print('Please install another version.') 1703 print('Please install another version.')
1704 exit(5) 1704 exit(5)
1705 1705
1706 # print version info for additional modules 1706 # print version info for additional modules
1707 # TODO: add info about QtSerialPort once PyQt 6.2.0/Qt 6.2.0 is released
1708 # (only if that is a separate package)
1709 with contextlib.suppress(NameError, AttributeError): 1707 with contextlib.suppress(NameError, AttributeError):
1710 print("PyQt6-Charts:", QtCharts.PYQT_CHART_VERSION_STR) 1708 print("PyQt6-Charts:", QtCharts.PYQT_CHART_VERSION_STR)
1711 1709
1712 with contextlib.suppress(ImportError, AttributeError): 1710 with contextlib.suppress(ImportError, AttributeError):
1713 from PyQt6 import QtWebEngine 1711 from PyQt6 import QtWebEngineCore
1714 print("PyQt6-WebEngine:", QtWebEngine.PYQT_WEBENGINE_VERSION_STR) 1712 print("PyQt6-WebEngine:", QtWebEngineCore.PYQT_WEBENGINE_VERSION_STR)
1715 1713
1716 print() 1714 print()
1717 print("All dependencies ok.") 1715 print("All dependencies ok.")
1718 print() 1716 print()
1719 1717

eric ide

mercurial