install script: added some TODO markers to ask the user to install PyQt5 and/or QScintilla using pip.

Mon, 02 Apr 2018 13:26:53 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 02 Apr 2018 13:26:53 +0200
changeset 6208
76445467adf8
parent 6200
89f2dc1bcfcd
child 6209
05b9989c1977

install script: added some TODO markers to ask the user to install PyQt5 and/or QScintilla using pip.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sat Mar 31 13:51:41 2018 +0200
+++ b/install.py	Mon Apr 02 13:26:53 2018 +0200
@@ -1164,6 +1164,7 @@
         try:
             from PyQt5.QtCore import qVersion
         except ImportError as msg:
+            # TODO: install PyQt5 via pip upon request
             print('Sorry, please install PyQt5.')
             print('Error: {0}'.format(msg))
             exit(1)
@@ -1188,6 +1189,7 @@
         else:
             from PyQt5 import Qsci      # __IGNORE_WARNING__
     except ImportError as msg:
+        # TODO: install QScintilla2 via pip upon request (PyQt5 only)
         print("Sorry, please install QScintilla2 and")
         print("its PyQt5/PyQt4 wrapper.")
         print('Error: {0}'.format(msg))

eric ide

mercurial