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

Method PEX

pex/variables.py:405–415  ·  view source on GitHub ↗

String. The absolute path of the PEX that is executing. This will either be the path of the PEX zip for zipapps or else the path of the PEX loose directory for packed or loose PEXes. N.B.: The path is not the path of the underlying unzipped PEX or else the PEXes installed

(self)

Source from the content-addressed store, hash-verified

403
404 @property
405 def PEX(self):
406 # type: () -> Optional[str]
407 """String.
408
409 The absolute path of the PEX that is executing. This will either be the path of the PEX
410 zip for zipapps or else the path of the PEX loose directory for packed or loose PEXes.
411
412 N.B.: The path is not the path of the underlying unzipped PEX or else the PEXes installed
413 venv.
414 """
415 return self._maybe_get_path("PEX")
416
417 @defaulted_property(default=False)
418 def PEX_ALWAYS_CACHE(self):

Callers 3

bootstrap_pexFunction · 0.80
_activate_pexFunction · 0.80
_bootstrap_venvFunction · 0.80

Calls 1

_maybe_get_pathMethod · 0.95

Tested by

no test coverage detected