eric6/PipInterface/Pip.py

changeset 6975
3325bf3e7b2c
parent 6942
2602857055c5
child 7192
a22eee00b052
equal deleted inserted replaced
6974:35b9fa8c9e66 6975:3325bf3e7b2c
205 self.tr("""No interpreter configured for the selected""" 205 self.tr("""No interpreter configured for the selected"""
206 """ virtual environment.""")) 206 """ virtual environment."""))
207 207
208 return interpreter 208 return interpreter
209 209
210 def getVirtualenvNames(self): 210 def getVirtualenvNames(self, noRemote=False):
211 """ 211 """
212 Public method to get a sorted list of virtual environment names. 212 Public method to get a sorted list of virtual environment names.
213 213
214 @param noRemote flag indicating to exclude environments for remote
215 debugging
216 @type bool
214 @return sorted list of virtual environment names 217 @return sorted list of virtual environment names
215 @rtype list of str 218 @rtype list of str
216 """ 219 """
217 return sorted( 220 return sorted(
218 e5App().getObject("VirtualEnvManager").getVirtualenvNames()) 221 e5App().getObject("VirtualEnvManager").getVirtualenvNames(
222 noRemote=noRemote))
219 223
220 def installPip(self, venvName, userSite=False): 224 def installPip(self, venvName, userSite=False):
221 """ 225 """
222 Public method to install pip. 226 Public method to install pip.
223 227

eric ide

mercurial