Files
OpenBB/openbb_terminal/core/config/paths.py
Om Gupta eff4632df9 New path for logs (#2502)
* add log path

* add test to check if log file is in correct dir

* small change

* Adding paths

* change to paths.py

* black

Co-authored-by: Chavithra Parana <chavithra@gmail.com>
2022-09-07 12:14:17 +01:00

12 lines
355 B
Python

# IMPORTATION STANDARD
from pathlib import Path
HOME_DIRECTORY = Path.home()
REPOSITORY_DIRECTORY = Path(__file__).parent.parent.parent.parent
USER_DATA_DIRECTORY = HOME_DIRECTORY / "OpenBBUserData"
SETTINGS_DIRECTORY = HOME_DIRECTORY / ".openbb_terminal"
REPOSITORY_ENV_FILE = REPOSITORY_DIRECTORY / ".env"
USER_ENV_FILE = SETTINGS_DIRECTORY / ".env"