Modification for compatibility with latest PyQt4 installer change.

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 26 Apr 2011 13:51:35 +0200
changeset 996
5eddcfeb8948
parent 994
8ed60a191a3a
child 998
eb7a1af5d9fc

Modification for compatibility with latest PyQt4 installer change.

eric5.py file | annotate | diff | comparison | revisions
--- a/eric5.py	Thu Apr 21 09:07:31 2011 +0200
+++ b/eric5.py	Tue Apr 26 13:51:35 2011 +0200
@@ -203,7 +203,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