eric6/PipInterface/Pip.py

changeset 7726
b1ade4fcf05f
parent 7628
f904d0eef264
child 7759
51aa6c6b66f7
equal deleted inserted replaced
7725:2648f2c894df 7726:b1ade4fcf05f
204 self.tr("""No interpreter configured for the selected""" 204 self.tr("""No interpreter configured for the selected"""
205 """ virtual environment.""")) 205 """ virtual environment."""))
206 206
207 return interpreter 207 return interpreter
208 208
209 def getVirtualenvNames(self, noRemote=False): 209 def getVirtualenvNames(self, noRemote=False, noConda=False):
210 """ 210 """
211 Public method to get a sorted list of virtual environment names. 211 Public method to get a sorted list of virtual environment names.
212 212
213 @param noRemote flag indicating to exclude environments for remote 213 @param noRemote flag indicating to exclude environments for remote
214 debugging 214 debugging
215 @type bool 215 @type bool
216 @param noConda flag indicating to exclude Conda environments
217 @type bool
216 @return sorted list of virtual environment names 218 @return sorted list of virtual environment names
217 @rtype list of str 219 @rtype list of str
218 """ 220 """
219 return sorted( 221 return sorted(
220 e5App().getObject("VirtualEnvManager").getVirtualenvNames( 222 e5App().getObject("VirtualEnvManager").getVirtualenvNames(
221 noRemote=noRemote)) 223 noRemote=noRemote, noConda=noConda))
222 224
223 def installPip(self, venvName, userSite=False): 225 def installPip(self, venvName, userSite=False):
224 """ 226 """
225 Public method to install pip. 227 Public method to install pip.
226 228

eric ide

mercurial