pali-lili/src/tofu/config.py
2025-12-14 17:47:51 +00:00

13 lines
319 B
Python

from os.path import abspath, dirname, join
from src.config import CustomBaseSettings
class Config(CustomBaseSettings):
OPENTOFU_PATH: str = "/usr/bin/tofu"
OPENTOFU_MODULES_PATH: str = abspath(
join(dirname(__file__), "..", "..", "tofu")
) # no trailing slash from abspath
settings = Config()