Modification for compatibility with latest PyQt4 installer change. 5_1_x

Tue, 26 Apr 2011 13:51:58 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 26 Apr 2011 13:51:58 +0200
branch
5_1_x
changeset 997
270d271a9ef3
parent 995
cd875a519a3a
child 999
e738a45a3dc2

Modification for compatibility with latest PyQt4 installer change.

eric5.py file | annotate | diff | comparison | revisions
--- a/eric5.py	Thu Apr 21 09:08:06 2011 +0200
+++ b/eric5.py	Tue Apr 26 13:51:58 2011 +0200
@@ -199,7 +199,9 @@
         pyqtDataDir = pyqtconfig._pkg_config["pyqt_mod_dir"]
         if os.path.exists(os.path.join(pyqtDataDir, "bin")):
             path = os.path.join(pyqtDataDir, "bin") + os.pathsep + os.environ["PATH"]
-            os.environ["PATH"] = path
+        else:
+            path = pyqtDataDir + os.pathsep + os.environ["PATH"]
+        os.environ["PATH"] = path
     except (AttributeError, ImportError):
         pass
     

eric ide

mercurial