install.py

branch
5_5_x
changeset 3679
e31b1fafad14
parent 3628
deb5973080a9
child 3695
8b52ec5f40e4
equal deleted inserted replaced
3671:e8a37c412d28 3679:e31b1fafad14
958 print("its PyQt4 wrapper.") 958 print("its PyQt4 wrapper.")
959 print('Error: {0}'.format(msg)) 959 print('Error: {0}'.format(msg))
960 exit(1) 960 exit(1)
961 print("Found QScintilla2") 961 print("Found QScintilla2")
962 962
963 modulesOK = True
963 for impModule in [ 964 for impModule in [
964 "PyQt4.QtGui", "PyQt4.QtNetwork", "PyQt4.QtSql", 965 "PyQt4.QtGui", "PyQt4.QtNetwork", "PyQt4.QtSql",
965 "PyQt4.QtSvg", "PyQt4.QtWebKit", 966 "PyQt4.QtSvg", "PyQt4.QtWebKit",
966 ]: 967 ]:
967 name = impModule.split(".")[1] 968 name = impModule.split(".")[1]
968 modulesOK = True
969 try: 969 try:
970 __import__(impModule) 970 __import__(impModule)
971 print("Found", name) 971 print("Found", name)
972 except ImportError as msg: 972 except ImportError as msg:
973 print('Sorry, please install {0}.'.format(name)) 973 print('Sorry, please install {0}.'.format(name))

eric ide

mercurial