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

Function remove_output

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

Source from the content-addressed store, hash-verified

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

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected