"""Custom hooks for the 05_hooks example. Shows how to write your own HookProvider subclass. Hooks are class-based — no decorator needed, just implement register_hooks().
"""Load build_hooks module from source without permanently modifying sys.path. build_hooks.py is a PEP 517 build backend, not an installed module. use_cuda_path: If True, set CUDA_PATH to the mock ...