diff -r 35b9fa8c9e66 -r 3325bf3e7b2c eric6/PipInterface/Pip.py --- a/eric6/PipInterface/Pip.py Mon Apr 22 15:16:38 2019 +0200 +++ b/eric6/PipInterface/Pip.py Sat Apr 27 19:27:50 2019 +0200 @@ -207,15 +207,19 @@ return interpreter - def getVirtualenvNames(self): + def getVirtualenvNames(self, noRemote=False): """ Public method to get a sorted list of virtual environment names. + @param noRemote flag indicating to exclude environments for remote + debugging + @type bool @return sorted list of virtual environment names @rtype list of str """ return sorted( - e5App().getObject("VirtualEnvManager").getVirtualenvNames()) + e5App().getObject("VirtualEnvManager").getVirtualenvNames( + noRemote=noRemote)) def installPip(self, venvName, userSite=False): """