Configure the build/host Python.
(context, working_dir)
| 259 | |
| 260 | @subdir("native_build_dir", clean_ok=True) |
| 261 | def configure_build_python(context, working_dir): |
| 262 | """Configure the build/host Python.""" |
| 263 | if LOCAL_SETUP.exists(): |
| 264 | print(f"👍 {LOCAL_SETUP} exists ...") |
| 265 | else: |
| 266 | print(f"📝 Touching {LOCAL_SETUP} ...") |
| 267 | LOCAL_SETUP.write_bytes(LOCAL_SETUP_MARKER) |
| 268 | |
| 269 | configure = [os.path.relpath(CHECKOUT / "configure", working_dir)] |
| 270 | if context.args: |
| 271 | configure.extend(context.args) |
| 272 | |
| 273 | call(configure, quiet=context.quiet) |
| 274 | |
| 275 | |
| 276 | @subdir("native_build_dir") |
nothing calls this directly
no test coverage detected
searching dependent graphs…