MCPcopy
hub / github.com/marimo-team/marimo / WheelBuilderHandler

Class WheelBuilderHandler

pyodide/build_and_serve.py:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34class WheelBuilderHandler(PatternMatchingEventHandler):
35 patterns = ["*.py"] # Watch for changes in Python files
36
37 def on_any_event(self, event) -> None:
38 print(f"Change detected: {event.src_path}") # noqa: T201
39 print("Building wheel...") # noqa: T201
40 subprocess.run(["uv", "build"])
41 print("Wheel built successfully.") # noqa: T201
42
43
44def serve() -> None:

Callers 1

build_and_serve.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…