File size: 334 Bytes
c0afe44
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
"""Path bootstrap shared by the CLI scripts.

Ensures ``src/`` is importable even when the package was not installed via
``pip install -e .``. Import this first in every script.
"""
import sys
from pathlib import Path

_SRC = Path(__file__).resolve().parents[1] / "src"
if str(_SRC) not in sys.path:
    sys.path.insert(0, str(_SRC))