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

Method activate

pex/environment.py:355–360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

353 return _RankedDistribution(wheel_eval.best_match.rank, fingerprinted_dist)
354
355 def activate(self):
356 # type: () -> Iterable[Distribution]
357 if self._activated_dists is None:
358 with TRACER.timed("Activating PEX virtual environment from %s" % self._pex):
359 self._activated_dists = self._activate()
360 return self._activated_dists
361
362 def _evaluate_marker(
363 self,

Callers

nothing calls this directly

Calls 2

_activateMethod · 0.95
timedMethod · 0.80

Tested by

no test coverage detected