609 if venvName in self.__virtualEnvironments: |
609 if venvName in self.__virtualEnvironments: |
610 return self.__virtualEnvironments[venvName].path |
610 return self.__virtualEnvironments[venvName].path |
611 else: |
611 else: |
612 return "" |
612 return "" |
613 |
613 |
614 def getVirtualenvNames(self, noRemote=False, noConda=False, noGlobals=False): |
614 def getVirtualenvNames( |
|
615 self, noRemote=False, noConda=False, noGlobals=False, noServer=False |
|
616 ): |
615 """ |
617 """ |
616 Public method to get a list of defined virtual environments. |
618 Public method to get a list of defined virtual environments. |
617 |
619 |
618 @param noRemote flag indicating to exclude environments for remote |
620 @param noRemote flag indicating to exclude environments for remote |
619 debugging (defaults to False) |
621 debugging (defaults to False) |
620 @type bool (optional) |
622 @type bool (optional) |
621 @param noConda flag indicating to exclude Conda environments (defaults to False) |
623 @param noConda flag indicating to exclude Conda environments (defaults to False) |
622 @type bool (optional) |
624 @type bool (optional) |
623 @param noGlobals flag indicating to exclude global environments |
625 @param noGlobals flag indicating to exclude global environments |
|
626 (defaults to False) |
|
627 @type bool (optional) |
|
628 @param noServer flag indicating to exclude eric-ide server environments |
624 (defaults to False) |
629 (defaults to False) |
625 @type bool (optional) |
630 @type bool (optional) |
626 @return list of defined virtual environments |
631 @return list of defined virtual environments |
627 @rtype list of str |
632 @rtype list of str |
628 """ |
633 """ |