53 @return dictionary containing the data to query the presence of |
53 @return dictionary containing the data to query the presence of |
54 the executable |
54 the executable |
55 """ |
55 """ |
56 dataList = [] |
56 dataList = [] |
57 data = { |
57 data = { |
58 "programEntry" : True, |
58 "programEntry": True, |
59 "header" : QCoreApplication.translate("CxFreezePlugin", |
59 "header": QCoreApplication.translate("CxFreezePlugin", |
60 "Packagers - cx_freeze"), |
60 "Packagers - cx_freeze"), |
61 "exe" : 'dummyfreeze', |
61 "exe": 'dummyfreeze', |
62 "versionCommand" : '--version', |
62 "versionCommand": '--version', |
63 "versionStartsWith" : 'dummyfreeze', |
63 "versionStartsWith": 'dummyfreeze', |
64 "versionPosition" : -1, |
64 "versionPosition": -1, |
65 "version" : "", |
65 "version": "", |
66 "versionCleanup" : None, |
66 "versionCleanup": None, |
67 } |
67 } |
68 |
68 |
69 if _checkProgram(): |
69 if _checkProgram(): |
70 for exePath in (exePy2+exePy3): |
70 for exePath in (exePy2+exePy3): |
71 data["exe"] = exePath |
71 data["exe"] = exePath |
352 |
353 |
353 # now do the call |
354 # now do the call |
354 from CxFreeze.CxfreezeExecDialog import CxfreezeExecDialog |
355 from CxFreeze.CxfreezeExecDialog import CxfreezeExecDialog |
355 dia = CxfreezeExecDialog("cxfreeze") |
356 dia = CxfreezeExecDialog("cxfreeze") |
356 dia.show() |
357 dia.show() |
357 res = dia.start(args, |
358 res = dia.start(args, parms, project.ppath, |
358 os.path.join(project.ppath, project.pdata["MAINSCRIPT"][0])) |
359 project.pdata["MAINSCRIPT"][0]) |
359 if res: |
360 if res: |
360 dia.exec_() |
361 dia.exec_() |