The implementation of the "configure-build" command.
(context: argparse.Namespace)
| 249 | |
| 250 | |
| 251 | def configure_build_python(context: argparse.Namespace) -> None: |
| 252 | """The implementation of the "configure-build" command.""" |
| 253 | if context.clean: |
| 254 | clean(context, "build") |
| 255 | |
| 256 | with ( |
| 257 | group("Configuring build Python"), |
| 258 | cwd(subdir("build", create=True)), |
| 259 | ): |
| 260 | command = [relpath(PYTHON_DIR / "configure")] |
| 261 | if context.args: |
| 262 | command.extend(context.args) |
| 263 | run(command) |
| 264 | |
| 265 | |
| 266 | def make_build_python(context: argparse.Namespace) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…