eric7.CondaInterface.CondaEnvironmentConfigurationDialog

Module implementing a dialog to enter the parameters for the conda virtual environment.

Global Attributes

None

Classes

CondaEnvironmentConfigurationDialog Class implementing a dialog to enter the parameters for the virtual environment.

Functions

None


CondaEnvironmentConfigurationDialog

Class implementing a dialog to enter the parameters for the virtual environment.

Derived from

QDialog, Ui_CondaEnvironmentConfigurationDialog

Class Attributes

None

Class Methods

None

Methods

CondaEnvironmentConfigurationDialog Constructor
__generateArguments Private method to generate the process arguments.
__updateOK Private method to update the enabled status of the OK button.
__updateUi Private method to update the UI depending on the selected virtual environment creator (virtualenv or pyvenv).
getData Public method to retrieve the dialog data.

Static Methods

None

CondaEnvironmentConfigurationDialog (Constructor)

CondaEnvironmentConfigurationDialog(baseDir="", parent=None)

Constructor

baseDir (str)
base directory for the virtual environments
parent (QWidget)
reference to the parent widget

CondaEnvironmentConfigurationDialog.__generateArguments

__generateArguments()

Private method to generate the process arguments.

Return:
process arguments
Return Type:
list of str

CondaEnvironmentConfigurationDialog.__updateOK

__updateOK()

Private method to update the enabled status of the OK button.

CondaEnvironmentConfigurationDialog.__updateUi

__updateUi()

Private method to update the UI depending on the selected virtual environment creator (virtualenv or pyvenv).

CondaEnvironmentConfigurationDialog.getData

getData()

Public method to retrieve the dialog data.

Return:
dictionary containing the data for the environment creation. The key 'logicalName' contains the environment name to be used with the virtual environment manager and 'arguments' contains the generated command line arguments for the 'conda create' command.
Return Type:
dict
Up