--- a/PipInterface/PipFileSelectionDialog.py Wed Feb 20 19:44:13 2019 +0100 +++ b/PipInterface/PipFileSelectionDialog.py Thu Feb 21 19:55:35 2019 +0100 @@ -70,12 +70,6 @@ self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) - self.venvComboBox.addItem(pip.getDefaultEnvironmentString()) - projectVenv = pip.getProjectEnvironmentString() - if projectVenv: - self.venvComboBox.addItem(projectVenv) - self.venvComboBox.addItems(pip.getVirtualenvNames()) - self.userCheckBox.setVisible(install) msh = self.minimumSizeHint() @@ -98,13 +92,11 @@ """ Public method to get the entered data. - @return tuple with the environment name, the name of the - selected file and a flag indicating to install to the - user install directory - @rtype tuple of (str, str, bool) + @return tuple with the name of the selected file and a flag indicating + to install to the user install directory + @rtype tuple of (str, bool) """ return ( - self.venvComboBox.currentText(), self.filePicker.text(), self.userCheckBox.isChecked() )