Locate the standalone zccache-fp binary (fallback).
()
| 328 | |
| 329 | |
| 330 | def _find_zccache_fp() -> str: |
| 331 | """Locate the standalone zccache-fp binary (fallback).""" |
| 332 | global _ZCCACHE_FP_BIN |
| 333 | if _ZCCACHE_FP_BIN is not None: |
| 334 | return _ZCCACHE_FP_BIN |
| 335 | found = shutil.which("zccache-fp") |
| 336 | if found is None: |
| 337 | raise FileNotFoundError( |
| 338 | "zccache-fp binary not found on PATH. Install it with: pip install zccache" |
| 339 | ) |
| 340 | _ZCCACHE_FP_BIN = found |
| 341 | return found |
| 342 | |
| 343 | |
| 344 | def _run_zccache( |