(zip_safe=True, interpreter=None)
| 51 | |
| 52 | @contextmanager |
| 53 | def yield_pex_builder(zip_safe=True, interpreter=None): |
| 54 | # type: (bool, Optional[PythonInterpreter]) -> Iterator[PEXBuilder] |
| 55 | with temporary_dir() as td, make_bdist("p1", zip_safe=zip_safe, interpreter=interpreter) as p1: |
| 56 | pb = PEXBuilder(path=td, interpreter=interpreter) |
| 57 | pb.add_dist_location(p1.location) |
| 58 | yield pb |
| 59 | |
| 60 | |
| 61 | def assert_force_local_implicit_ns_packages_issues_598( |
no test coverage detected