PluginCxFreeze.py

changeset 86
c2fe73b1087b
parent 85
336e603959a9
child 88
8e882ef7a386
--- a/PluginCxFreeze.py	Fri Jan 01 12:18:56 2016 +0100
+++ b/PluginCxFreeze.py	Sun Feb 07 17:29:35 2016 +0100
@@ -26,7 +26,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "6.0.0"
+version = "6.0.1"
 className = "CxFreezePlugin"
 packageName = "CxFreeze"
 shortDescription = "Show the CxFreeze dialogs."
@@ -205,9 +205,15 @@
     exePy2 = _findExecutable(2)
     exePy3 = _findExecutable(3)
     if (exePy2 + exePy3) == []:
-        error = QCoreApplication.translate(
-            "CxFreezePlugin",
-            "The cxfreeze executable could not be found.")
+        if Utilities.isWindowsPlatform():
+            error = QCoreApplication.translate(
+                "CxFreezePlugin",
+                "The cxfreeze.bat executable could not be found."
+                "Did you run the cxfreeze-postinstall script?")
+        else:
+            error = QCoreApplication.translate(
+                "CxFreezePlugin",
+                "The cxfreeze executable could not be found.")
         return False
     else:
         return True

eric ide

mercurial