PipInterface/PipPackagesInputDialog.py

branch
pypi
changeset 6795
6e2ed2aac325
parent 6782
390a45748883
--- a/PipInterface/PipPackagesInputDialog.py	Wed Feb 20 19:44:13 2019 +0100
+++ b/PipInterface/PipPackagesInputDialog.py	Thu Feb 21 19:55:35 2019 +0100
@@ -39,12 +39,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()
@@ -64,15 +58,13 @@
         """
         Public method to get the entered data.
         
-        @return tuple with the environment name, the list of package
-            specifications and a flag indicating to install to the user
-            install directory
-        @rtype tuple of (str, list of str, bool)
+        @return tuple with the list of package specifications and a flag
+            indicating to install to the user install directory
+        @rtype tuple of (list of str, bool)
         """
         packages = [p.strip() for p in self.packagesEdit.text().split()]
         
         return (
-            self.venvComboBox.currentText(),
             packages,
             self.userCheckBox.isChecked()
         )

eric ide

mercurial