MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / clean

Function clean

pyodide/pack_wheel.py:163–177  ·  view source on GitHub ↗

Remove build artifacts.

()

Source from the content-addressed store, hash-verified

161
162
163def clean() -> None:
164 """Remove build artifacts."""
165 paths_to_remove = (
166 BUILD_DIR,
167 PYODIDE_DIR / ".pyodide_build",
168 PYODIDE_DIR / "dist",
169 PYODIDE_DIR / "ifcopenshell.egg-info",
170 PYODIDE_DIR / "src",
171 IFCOPENSHELL_DIR,
172 )
173 for path in paths_to_remove:
174 if path.exists() or path.is_symlink():
175 print(f"Removing {path}...")
176 Tools.rmrf(path)
177 print("✓ Clean complete")
178
179
180def main() -> None:

Callers 1

mainFunction · 0.85

Calls 2

printFunction · 0.85
rmrfMethod · 0.80

Tested by

no test coverage detected