24 # Start-of-Header |
24 # Start-of-Header |
25 name = "CxFreeze Plugin" |
25 name = "CxFreeze Plugin" |
26 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
26 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
27 autoactivate = True |
27 autoactivate = True |
28 deactivateable = True |
28 deactivateable = True |
29 version = "6.0.10" |
29 version = "6.0.11" |
30 className = "CxFreezePlugin" |
30 className = "CxFreezePlugin" |
31 packageName = "CxFreeze" |
31 packageName = "CxFreeze" |
32 shortDescription = "Show the CxFreeze dialogs." |
32 shortDescription = "Show the CxFreeze dialogs." |
33 longDescription = \ |
33 longDescription = \ |
34 """This plugin implements the CxFreeze dialogs.""" \ |
34 """This plugin implements the CxFreeze dialogs.""" \ |
340 def __cxfreeze(self): |
340 def __cxfreeze(self): |
341 """ |
341 """ |
342 Private slot to handle the cxfreeze execution. |
342 Private slot to handle the cxfreeze execution. |
343 """ |
343 """ |
344 project = e5App().getObject("Project") |
344 project = e5App().getObject("Project") |
345 if project.getMainScript() == "": |
345 if not project.getMainScript(): |
346 # no main script defined |
346 # no main script defined |
347 E5MessageBox.critical( |
347 E5MessageBox.critical( |
348 self.__ui, |
348 self.__ui, |
349 self.tr("cxfreeze"), |
349 self.tr("cxfreeze"), |
350 self.tr( |
350 self.tr( |