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

Function make_bdist

testing/__init__.py:314–325  ·  view source on GitHub ↗
(
    name="my_project",  # type: str
    version="0.0.0",  # type: str
    zip_safe=True,  # type: bool
    interpreter=None,  # type: Optional[PythonInterpreter]
    **kwargs  # type: Any
)

Source from the content-addressed store, hash-verified

312
313@contextlib.contextmanager
314def make_bdist(
315 name="my_project", # type: str
316 version="0.0.0", # type: str
317 zip_safe=True, # type: bool
318 interpreter=None, # type: Optional[PythonInterpreter]
319 **kwargs # type: Any
320):
321 # type: (...) -> Iterator[Distribution]
322 with built_wheel(
323 name=name, version=version, zip_safe=zip_safe, interpreter=interpreter, **kwargs
324 ) as dist_location:
325 yield install_wheel(dist_location)
326
327
328def install_wheel(wheel):

Calls 2

built_wheelFunction · 0.85
install_wheelFunction · 0.70