__init__.py 434 B

12345678910111213
  1. """Compatibility package for vendored lf-scanner sources.
  2. The vendored pypulseq copy still contains absolute imports such as
  3. ``LF_scanner.pypulseq``. Expose ``libs/lf-scanner`` as the package path so
  4. those imports continue to resolve while application code imports ``pypulseq``
  5. directly.
  6. """
  7. from pathlib import Path
  8. _VENDORED_ROOT = Path(__file__).resolve().parent.parent / "libs" / "lf-scanner"
  9. __path__ = [str(_VENDORED_ROOT)]