citygrid-policy-driven-fede.../sitecustomize.py

10 lines
340 B
Python

# Lightweight import path bootstrap for CI environments
# Ensures the repository root is on sys.path early enough for imports
import sys
import os
# Compute repository root based on this file's location when possible
_repo_root = os.path.abspath(os.path.dirname(__file__))
if _repo_root not in sys.path:
sys.path.insert(0, _repo_root)