install.py

branch
5_4_x
changeset 3680
d60e61ef6642
parent 3610
fa0448f34e49
child 3707
ea1db3ec60b3
equal deleted inserted replaced
3672:01e4aee3c3ee 3680:d60e61ef6642
895 print("its PyQt4 wrapper.") 895 print("its PyQt4 wrapper.")
896 print('Error: {0}'.format(msg)) 896 print('Error: {0}'.format(msg))
897 exit(1) 897 exit(1)
898 print("Found QScintilla2") 898 print("Found QScintilla2")
899 899
900 modulesOK = True
900 for impModule in [ 901 for impModule in [
901 "PyQt4.QtGui", "PyQt4.QtNetwork", "PyQt4.QtSql", 902 "PyQt4.QtGui", "PyQt4.QtNetwork", "PyQt4.QtSql",
902 "PyQt4.QtSvg", "PyQt4.QtWebKit", 903 "PyQt4.QtSvg", "PyQt4.QtWebKit",
903 ]: 904 ]:
904 name = impModule.split(".")[1] 905 name = impModule.split(".")[1]
905 modulesOK = True
906 try: 906 try:
907 __import__(impModule) 907 __import__(impModule)
908 print("Found", name) 908 print("Found", name)
909 except ImportError as msg: 909 except ImportError as msg:
910 print('Sorry, please install {0}.'.format(name)) 910 print('Sorry, please install {0}.'.format(name))

eric ide

mercurial