def bootstrap_pex_env(entry_point):
    """Bootstrap the current runtime environment using a given pex."""
    from .environment import PEXEnvironment
    from .finders import register_finders
    from .pex_info import PexInfo
    register_finders()
    PEXEnvironment(entry_point, PexInfo.from_pex(entry_point)).activate()
