(self)
| 345 | super().__init__(config) |
| 346 | |
| 347 | def run(self): |
| 348 | COMMANDS = [ |
| 349 | "pybind11-stubgen", |
| 350 | "pymllm._C", |
| 351 | ] |
| 352 | throw_error_if_failed(os.system(self.make_command_str(COMMANDS))) |
| 353 | logging.info(self.make_command_str(COMMANDS)) |
| 354 | tmp_C_path = PROJECT_ROOT_PATH / "stubs" / "pymllm" |
| 355 | _C_path = PROJECT_ROOT_PATH / "pymllm" |
| 356 | self.copy_files(tmp_C_path, _C_path) |
| 357 | |
| 358 | def copy_files(self, src_dir, dst_dir): |
| 359 | import shutil |
nothing calls this directly
no test coverage detected