src/eric7/Project/Project.py

branch
eric7
changeset 10108
0f4194acf75e
parent 10069
435cc5875135
child 10113
40eb9038d100
equal deleted inserted replaced
10107:da76865312f1 10108:0f4194acf75e
3969 ): 3969 ):
3970 venvName = Preferences.getDebugger("Python3VirtualEnv") 3970 venvName = Preferences.getDebugger("Python3VirtualEnv")
3971 3971
3972 return venvName 3972 return venvName
3973 3973
3974 def getProjectVenvPath(self):
3975 """
3976 Public method to get the path name of the embedded virtual environment.
3977
3978 @return path name of the embedded virtual environment
3979 @rtype str
3980 """
3981 if self.__pdata["EMBEDDED_VENV"]:
3982 return self.__findEmbeddedEnvironment()
3983 else:
3984 return ""
3985
3974 def getProjectInterpreter(self, resolveGlobal=True): 3986 def getProjectInterpreter(self, resolveGlobal=True):
3975 """ 3987 """
3976 Public method to get the path of the interpreter used by the project. 3988 Public method to get the path of the interpreter used by the project.
3977 3989
3978 @param resolveGlobal flag indicating to resolve the interpreter using 3990 @param resolveGlobal flag indicating to resolve the interpreter using

eric ide

mercurial