Updated the install script to check for the presence of the xml.etree package, which is sometimes included in a separate installation package.

Tue, 03 Jan 2012 11:00:35 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 03 Jan 2012 11:00:35 +0100
changeset 1525
1c7bd9144f43
parent 1524
745561b431db
child 1527
b60af978f526

Updated the install script to check for the presence of the xml.etree package, which is sometimes included in a separate installation package.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
install.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/install.py	Sun Jan 01 17:32:58 2012 +0100
+++ b/install.py	Tue Jan 03 11:00:35 2012 +0100
@@ -717,6 +717,13 @@
     print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3]))
     
     try:
+        import xml.etree            # __IGNORE_WARNING__
+    except ImportError as msg:
+        print('Your Python3 installation is missing the XML module.')
+        print('Please install it and try again.')
+        exit(5)
+    
+    try:
         from PyQt4.QtCore import qVersion
     except ImportError as msg:
         print('Sorry, please install PyQt4.')

eric ide

mercurial