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

Function make_source_dir

testing/__init__.py:300–310  ·  view source on GitHub ↗
(
    name="my_project",  # type: str
    version="0.0.0",  # type: str
    install_reqs=None,  # type: Optional[List[str]]
    extras_require=None,  # type: Optional[Dict[str, List[str]]]
)

Source from the content-addressed store, hash-verified

298
299@contextlib.contextmanager
300def make_source_dir(
301 name="my_project", # type: str
302 version="0.0.0", # type: str
303 install_reqs=None, # type: Optional[List[str]]
304 extras_require=None, # type: Optional[Dict[str, List[str]]]
305):
306 # type: (...) -> Iterator[str]
307 with make_project(
308 name=name, version=version, install_reqs=install_reqs, extras_require=extras_require
309 ) as td:
310 yield td
311
312
313@contextlib.contextmanager

Callers 3

assert_build_pexFunction · 0.90

Calls 1

make_projectFunction · 0.70

Tested by 3

assert_build_pexFunction · 0.72