MCPcopy
hub / github.com/pex-tool/pex / _default_pex_root

Function _default_pex_root

pex/variables.py:166–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164
165
166def _default_pex_root():
167 # type: () -> str
168
169 # N.B.: We need lazy import gymnastics here since cache uses appdirs which is pex.third_party
170 # and the pex.third_party mechanism uses ENV.PEX_VERBOSE indirectly via TRACER to log certain
171 # third party import lifecycle events.
172 from pex.cache import root as cache_root
173
174 return cache_root.path(expand_user=True)
175
176
177class Variables(object):

Callers

nothing calls this directly

Calls 1

pathMethod · 0.45

Tested by

no test coverage detected