src/eric7/Plugins/PluginWizardSetup.py

branch
eric7
changeset 11203
2ea34362b6b6
parent 11148
15e30f0c76a8
child 11204
5cffd6e2b1d6
--- a/src/eric7/Plugins/PluginWizardSetup.py	Wed Apr 02 16:44:07 2025 +0200
+++ b/src/eric7/Plugins/PluginWizardSetup.py	Wed Apr 02 16:46:15 2025 +0200
@@ -81,44 +81,48 @@
         Private method to initialize the actions.
         """
         # 1. action for 'setup.py' creation
+        # Note: Use of setup.py is deprecated.
         act = EricAction(
-            self.tr("setup.py Wizard"),
-            self.tr("setup.py Wizard..."),
+            self.tr("setup.py Wizard (deprecated)"),
+            self.tr("setup.py Wizard (deprecated)..."),
             0,
             0,
             self,
             "wizards_setup_py",
         )
-        act.setStatusTip(self.tr("setup.py Wizard"))
+        act.setStatusTip(self.tr("setup.py Wizard (deprecated)"))
         act.setWhatsThis(
             self.tr(
-                """<b>setup.py Wizard</b>"""
+                """<b>setup.py Wizard (deprecated)</b>"""
                 """<p>This wizard opens a dialog for entering all the parameters"""
                 """ needed to create the basic contents of a setup.py file. The"""
                 """ generated code is inserted at the current cursor position."""
-                """</p>"""
+                """</p><p><b>Note:</b> The use of setup.py is deprecated. Use"""
+                """ <b>pyproject.toml</b> instead."""
             )
         )
         act.triggered.connect(functools.partial(self.__handle, "setup.py"))
         self.__actions.append(act)
 
         # 2. action for 'setup.cfg' creation
+        # Note: Use of setup.cfg is deprecated.
         act = EricAction(
-            self.tr("setup.cfg Wizard"),
-            self.tr("setup.cfg Wizard..."),
+            self.tr("setup.cfg Wizard (deprecated)"),
+            self.tr("setup.cfg Wizard (deprecated)..."),
             0,
             0,
             self,
             "wizards_setup_cfg",
         )
-        act.setStatusTip(self.tr("setup.cfg Wizard"))
+        act.setStatusTip(self.tr("setup.cfg Wizard (deprecated)"))
         act.setWhatsThis(
             self.tr(
-                """<b>setup.cfg Wizard</b>"""
+                """<b>setup.cfg Wizard (deprecated)</b>"""
                 """<p>This wizard opens a dialog for entering all the parameters"""
                 """ needed to create the basic contents of a setup.cfg file. The"""
                 """ generated code is inserted at the current cursor position."""
-                """</p>"""
+                """</p><p><b>Note:</b> The use of setup.cfg is deprecated. Use"""
+                """ <b>pyproject.toml</b> instead."""
             )
         )
         act.triggered.connect(functools.partial(self.__handle, "setup.cfg"))

eric ide

mercurial