empyrean.default_data_dir¶
- default_data_dir()[source]¶
Return the OS-appropriate XDG data directory empyrean uses by default.
Resolution order:
EMPYREAN_DATA_DIRenvironment variable, if set.The OS XDG data location:
Linux:
$XDG_DATA_HOME/empyrean/data/(default~/.local/share/empyrean/data/)macOS:
~/Library/Application Support/empyrean/data/Windows:
%APPDATA%\empyrean\data\
Cheap to call — does not touch the filesystem.
- Return type:
- Returns:
pathlib.Path – Path to the data directory.