src/eric7/Preferences/__init__.py

branch
eric7
changeset 11281
a2529214787a
parent 11272
58ec0448af03
--- a/src/eric7/Preferences/__init__.py	Sat May 10 18:36:01 2025 +0200
+++ b/src/eric7/Preferences/__init__.py	Sat May 10 18:39:45 2025 +0200
@@ -164,7 +164,6 @@
         "ShowFindLocationWidget": True,  # left side
         "ShowCodeDocumentationViewer": True,  # right side
         "ShowPyPIPackageManager": True,  # right side
-        "ShowCondaPackageManager": True,  # right side
         "ShowMicroPython": True,  # right side
         "ShowInternalHelpViewer": True,  # right side
         "ShowNumbersViewer": True,  # bottom side
@@ -1499,11 +1498,6 @@
         "ShowInfoOnOpenParenthesis": True,
     }
 
-    # defaults for conda
-    condaDefaults = {
-        "CondaExecutable": "",
-    }
-
     # defaults for pip
     pipDefaults = {
         "PipSearchIndex": "",  # used by the search command
@@ -2140,7 +2134,6 @@
         "CrashSessionEnabled",
         "ShowCodeDocumentationViewer",
         "ShowPyPIPackageManager",
-        "ShowCondaPackageManager",
         "ShowTemplateViewer",
         "ShowFileBrowser",
         "ShowSymbolsViewer",
@@ -3807,30 +3800,6 @@
     Prefs.settings.setValue("CodeDocumentationViewer/" + key, value)
 
 
-def getConda(key):
-    """
-    Module function to retrieve the conda related settings.
-
-    @param key the key of the value to get
-    @type str
-    @return the requested conda value
-    @rtype Any
-    """
-    return Prefs.settings.value("Conda/" + key, Prefs.condaDefaults[key])
-
-
-def setConda(key, value):
-    """
-    Module function to store the conda related settings.
-
-    @param key the key of the setting to be set
-    @type str
-    @param value the value to be set
-    @type Any
-    """
-    Prefs.settings.setValue("Conda/" + key, value)
-
-
 def getPip(key):
     """
     Module function to retrieve the pip related settings.

eric ide

mercurial