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.0" |
29 version = "6.0.1" |
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.""" \ |
203 global error, exePy2, exePy3 |
203 global error, exePy2, exePy3 |
204 |
204 |
205 exePy2 = _findExecutable(2) |
205 exePy2 = _findExecutable(2) |
206 exePy3 = _findExecutable(3) |
206 exePy3 = _findExecutable(3) |
207 if (exePy2 + exePy3) == []: |
207 if (exePy2 + exePy3) == []: |
208 error = QCoreApplication.translate( |
208 if Utilities.isWindowsPlatform(): |
209 "CxFreezePlugin", |
209 error = QCoreApplication.translate( |
210 "The cxfreeze executable could not be found.") |
210 "CxFreezePlugin", |
|
211 "The cxfreeze.bat executable could not be found." |
|
212 "Did you run the cxfreeze-postinstall script?") |
|
213 else: |
|
214 error = QCoreApplication.translate( |
|
215 "CxFreezePlugin", |
|
216 "The cxfreeze executable could not be found.") |
211 return False |
217 return False |
212 else: |
218 else: |
213 return True |
219 return True |
214 |
220 |
215 |
221 |