Files
OpenBB/openbb_terminal/core/config/paths.py
Om Gupta f18c44b066 New path for styles and add timezone as environment variable (#2509)
* add log path

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

* env path

* black

* mypy fix

* add styles folder and styles from repo

* add timezone as env variable

* fix changes with main

* fix test

* flake8

* fix linting

* fix linting

* fix issue with light mpl stylesheet

* change timezone variable name

* change names

* change names

* names

* simplify paths.py

* change some names

* fix error in logic

* remove 3.11 from testing for now
2022-09-16 17:46:20 +01:00

14 lines
399 B
Python

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