mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 07:51:49 +00:00
* 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>
12 lines
355 B
Python
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"
|