10 lines
277 B
Python
10 lines
277 B
Python
from pathlib import Path
|
|
import os
|
|
import sys
|
|
|
|
APP_PATH = os.path.dirname(sys.executable) if getattr(sys, 'frozen', False) else os.path.dirname(__file__)
|
|
|
|
LOGGER_NAME = 'assemblr'
|
|
LOG_FILE = Path(APP_PATH) / Path(f'{LOGGER_NAME}.log')
|
|
MAX_LOG_FILE_SIZE_BYTES = 400 * 1024 ** 2
|