def to_build_module(build_file_path: str, conf: Config) -> str:
    """Return a normalized build module name for `build_file_path`."""
    build_file = Path(build_file_path)
    root = Path(conf.project_root)
    return build_file.resolve().relative_to(root).parent.as_posix().strip('.')