Files
Jyotisha/scripts/_script_root.py
T
jesse-uxGrok (agent loop)Cursor
900581068e feat(reading): fill the five full-reading modules missing from upstream
The western comparison layer was invoked without its files, so it stayed blocked. Navamsha and Niryaana Shoola are filled from the native rashi dashas.

Co-Authored-By: Grok (agent loop)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 19:32:38 +08:00

15 lines
431 B
Python

"""Put the repository root on sys.path for scripts copied from upstream.
Those modules optionally import ``_script_root`` before their other imports.
This file only adjusts the import path. It does not calculate charts.
"""
from __future__ import annotations
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
root_text = str(ROOT)
if root_text not in sys.path:
sys.path.insert(0, root_text)