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

Function pyenv_path

mod/project/python/pyenv_tool.py:92–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91
92def pyenv_path() -> str:
93 _p = "/www/server/pyporject_evn"
94 if os.path.exists(_p):
95 return os.path.realpath(_p)
96 return _p
97
98
99class PythonEnvironment:

Callers 6

list_environmentMethod · 0.90
activate_shellMethod · 0.85
removeMethod · 0.85
can_removeMethod · 0.85
__init__Method · 0.85
multi_remove_envMethod · 0.85

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected