def bootstrap_pex_env(entry_point):
  from .environment import PEXEnvironment
  from .finders import register_finders
  from .pex_info import PexInfo

  monkeypatch_build_zipmanifest()
  register_finders()

  PEXEnvironment(entry_point, PexInfo.from_pex(entry_point)).activate()
Bootstrap the current runtime environment using a given pex.
dataset/ETHPy150Open pantsbuild/pex/pex/pex_bootstrapper.py/bootstrap_pex_env