MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / remove_output

Function remove_output

extern/pybind/setup.py:115–120  ·  view source on GitHub ↗
(*sources: str)

Source from the content-addressed store, hash-verified

113# Remove the CMake install directory when done
114@contextlib.contextmanager
115def remove_output(*sources: str) -> Iterator[None]:
116 try:
117 yield
118 finally:
119 for src in sources:
120 shutil.rmtree(src)
121
122
123with remove_output("pybind11/include", "pybind11/share"):

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected