sma-nas/credit-scoring-api
0
1"""Initialisation du package API.2 3Ajoute automatiquement le dossier `src` au chemin Python pour permettre4le chargement de `credit_scoring` sans configuration manuelle de PYTHONPATH.5"""6 7from pathlib import Path8import sys9 10ROOT_DIR = Path(__file__).resolve().parents[1]11SRC_DIR = ROOT_DIR / "src"12 13if str(SRC_DIR) not in sys.path:14 sys.path.insert(0, str(SRC_DIR))15 