File size: 232 Bytes
2379054
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
"""Ensure the repository root is on sys.path (single insert location)."""

import sys
from pathlib import Path

ROOT = Path(__file__).resolve().parent.parent
_root = str(ROOT)
if _root not in sys.path:
    sys.path.insert(0, _root)