eric7.VirtualEnv.VirtualenvUpgradeConfigurationDialog
Module implementing a dialog to enter the virtual environment upgrade
parameters.
Global Attributes
Classes
Functions
VirtualenvUpgradeConfigurationDialog
Class implementing a dialog to enter the virtual environment upgrade
parameters.
Derived from
QDialog, Ui_VirtualenvUpgradeConfigurationDialog
Class Attributes
Class Methods
Methods
Static Methods
VirtualenvUpgradeConfigurationDialog (Constructor)
VirtualenvUpgradeConfigurationDialog(envName, envPath, parent=None)
Constructor
- envName (str)
-
name of the environment to be upgraded
- envPath (str)
-
directory of the environment to be upgraded
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
VirtualenvUpgradeConfigurationDialog.__getPyvenvVersion
__getPyvenvVersion()
Private method to determine the version of the venv module.
- Return:
-
tuple containing the venv modules version
- Return Type:
-
tuple of (int, int, int)
VirtualenvUpgradeConfigurationDialog.__updateOkButton
__updateOkButton()
Private slot to set the enabled state of the OK button.
VirtualenvUpgradeConfigurationDialog.getData
getData()
Public method to retrieve the dialog data.
- Return:
-
tuple containing the selected python executable, the list of
arguments, a flag indicating to write a log file and a flag indicating
a package reinstallation
- Return Type:
-
tuple of (str, list of str, bool)