"""Auxiliary / vendored-style scripts under ``thirdparty/``. Import as ``thirdparty.crop_img``, ``thirdparty.draw_point``. Ensures the repository root is on ``sys.path`` so the root-level ``routing`` module and other top-level packages resolve correctly. """ from __future__ import annotations import sys from pathlib import Path _REPO_ROOT = Path(__file__).resolve().parent.parent if str(_REPO_ROOT) not in sys.path: sys.path.insert(0, str(_REPO_ROOT))