MCPcopy Create free account
hub / github.com/pytorch/executorch / run

Method run

setup.py:468–477  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

466 super().__init__(*args, **kwargs)
467
468 def run(self):
469 # Run the build command first in editable mode. Since `build` command
470 # will also trigger `build_ext` command, only run this once.
471 if self._ran_build:
472 return
473
474 if self.editable_mode:
475 self._ran_build = True
476 self.run_command("build")
477 super().run()
478
479 def copy_extensions_to_source(self) -> None:
480 """For each extension in `ext_modules`, we need to copy the extension

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected