Files
OpenBB/openbb_terminal/core/config/paths.py
Om Gupta 3d0190e35b New path for .env (#2508)
* add log path

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

* env path

* black

* mypy fix

* linting

* add make_paths and change references

* terminal change

* change constants to paths

* change names

* black

* mypy

* mypy

* pylint else

* add make paths

* remove custom user dir name

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-09-12 11:56:45 +01:00

12 lines
343 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"
ENV_FILE_REPOSITORY = HOME_DIRECTORY / ".env"
USER_ENV_FILE = SETTINGS_DIRECTORY / ".env"
USER_DATA_DIRECTORY = HOME_DIRECTORY / "OpenBBUserData"