MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / find_conda_python

Method find_conda_python

mod/project/python/pyenv_tool.py:756–760  ·  view source on GitHub ↗
(cls, path: str)

Source from the content-addressed store, hash-verified

754
755 @classmethod
756 def find_conda_python(cls, path: str) -> List[PythonEnvironment]:
757 p = Path(path).expanduser().resolve()
758 if p.is_file() and os.access(p, os.X_OK):
759 return cls.detect_by_conda_bin(str(p))
760 return []
761
762
763class VirtualEnvDetector(_EnvironmentDetector):

Callers 1

add_python_envMethod · 0.80

Calls 2

detect_by_conda_binMethod · 0.80
resolveMethod · 0.45

Tested by

no test coverage detected