PluginCxFreeze.py

branch
eric7
changeset 147
908186813616
parent 146
32c4e3d4465c
child 149
8f00ab5d72a2
--- a/PluginCxFreeze.py	Sat Dec 23 16:19:01 2023 +0100
+++ b/PluginCxFreeze.py	Tue Oct 29 17:57:03 2024 +0100
@@ -25,20 +25,23 @@
     from eric7.Utilities import getEnvironmentEntry
 
 # Start-of-Header
-name = "CxFreeze Plugin"
-author = "Detlev Offenbach <detlev@die-offenbachs.de>"
-autoactivate = True
-deactivateable = True
-version = "10.2.0"
-className = "CxFreezePlugin"
-packageName = "CxFreeze"
-shortDescription = "Show the CxFreeze dialogs."
-longDescription = (
-    """This plugin implements the CxFreeze dialogs."""
-    """ CxFreeze is used to generate a distribution package."""
-)
-needsRestart = False
-pyqtApi = 2
+__header__ = {
+    "name": "CxFreeze Plugin",
+    "author": "Detlev Offenbach <detlev@die-offenbachs.de>",
+    "autoactivate": True,
+    "deactivateable": True,
+    "version": "10.3.0",
+    "className": "CxFreezePlugin",
+    "packageName": "CxFreeze",
+    "shortDescription": "Show the CxFreeze dialogs.",
+    "longDescription": (
+        "This plugin implements the CxFreeze dialogs. CxFreeze is used to"
+        " generate a distribution package."
+    ),
+    "needsRestart": False,
+    "hasCompiledForms": True,
+    "pyqtApi": 2,
+}
 # End-of-Header
 
 error = ""
@@ -401,13 +404,13 @@
             return
 
         parms = project.getData("PACKAGERSPARMS", "CXFREEZE")
-        dlg = CxfreezeConfigDialog(project, exe, parms)
+        dlg = CxfreezeConfigDialog(project, exe, parms, parent=self.__ui)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             args, parms = dlg.generateParameters()
             project.setData("PACKAGERSPARMS", "CXFREEZE", parms)
 
             # now do the call
-            dia = CxfreezeExecDialog("cxfreeze")
+            dia = CxfreezeExecDialog("cxfreeze", parent=self.__ui)
             dia.show()
             res = dia.start(args, parms, project.ppath, project.getMainScript())
             if res:

eric ide

mercurial