MaxKB/apps/smartdoc/const.py
2023-09-15 17:40:35 +08:00

13 lines
348 B
Python

# -*- coding: utf-8 -*-
#
import os
from .conf import ConfigManager
__all__ = ['BASE_DIR', 'PROJECT_DIR', 'VERSION', 'CONFIG']
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
PROJECT_DIR = os.path.dirname(BASE_DIR)
VERSION = '1.0.0'
CONFIG = ConfigManager.load_user_config(root_path=os.path.abspath('/opt/smartdoc/conf'))