HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/navigator_updater/config/__init__.py
# -*- coding: utf-8 -*-

# -----------------------------------------------------------------------------
# Copyright 2016 Anaconda, Inc.
#
# May be copied and distributed freely only as part of an Anaconda or
# Miniconda installation.
# -----------------------------------------------------------------------------

"""Module in charge of the configuration settings."""

import os
import sys

from navigator_updater.config.base import get_conf_path, get_home_dir

# FLAGS
LINUX = sys.platform.startswith('linux')

CONF_PATH = get_conf_path()
LOCKFILE = os.path.join(CONF_PATH, 'navigator_updater.lock')
NAVIGATOR_LOCKFILE = os.path.join(CONF_PATH, 'navigator.lock')

# Logging
LOG_FOLDER = os.path.join(CONF_PATH, 'logs')
LOG_FILENAME = 'navigator_updater.log'
MAX_LOG_FILE_SIZE = 2 * 1024 * 1024