5 |
5 |
6 """ |
6 """ |
7 Module implementing the conda configuration page. |
7 Module implementing the conda configuration page. |
8 """ |
8 """ |
9 |
9 |
10 from EricWidgets.EricPathPicker import EricPathPickerModes |
10 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes |
11 |
11 |
12 from .ConfigurationPageBase import ConfigurationPageBase |
12 from .ConfigurationPageBase import ConfigurationPageBase |
13 from .Ui_CondaPage import Ui_CondaPage |
13 from .Ui_CondaPage import Ui_CondaPage |
14 |
14 |
15 import Preferences |
15 from eric7 import Preferences |
16 |
16 |
17 |
17 |
18 class CondaPage(ConfigurationPageBase, Ui_CondaPage): |
18 class CondaPage(ConfigurationPageBase, Ui_CondaPage): |
19 """ |
19 """ |
20 Class implementing the conda configuration page. |
20 Class implementing the conda configuration page. |
45 """ |
45 """ |
46 condaExecutable = self.condaExePicker.text() |
46 condaExecutable = self.condaExePicker.text() |
47 if condaExecutable != self.__condaExecutable: |
47 if condaExecutable != self.__condaExecutable: |
48 Preferences.setConda("CondaExecutable", condaExecutable) |
48 Preferences.setConda("CondaExecutable", condaExecutable) |
49 |
49 |
50 import CondaInterface |
50 from eric7 import CondaInterface |
51 |
51 |
52 CondaInterface.resetInterface() |
52 CondaInterface.resetInterface() |
53 |
53 |
54 |
54 |
55 def create(dlg): |
55 def create(dlg): |