1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
dotfile-automator/project/utils/constants.py

15 lines
413 B
Python
Raw Normal View History

import os
2015-12-05 22:14:54 +00:00
# Core Directories
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
2015-12-06 15:24:03 +00:00
DATA_DIR = os.path.expanduser("~/.dfa/")
2015-12-05 22:14:54 +00:00
# Config
2015-12-06 15:24:03 +00:00
USER_CONFIG_DIR = os.path.join(DATA_DIR, "dfa.yml")
DEFAULT_CONFIG_DIR = os.path.join(BASE_DIR, 'defaults.yml')
2015-12-06 14:20:55 +00:00
REQUIRED_KEYS = ['public_repo']
2015-12-05 22:14:54 +00:00
# Data Directories
PRIVATE_DATA_DIR = os.path.join(DATA_DIR, 'private_data')
PUBLIC_DATA_DIR = os.path.join(DATA_DIR, 'public_data')