init
This commit is contained in:
16
app/core/utils/setting.py
Normal file
16
app/core/utils/setting.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# coding: utf-8
|
||||
from pathlib import Path
|
||||
|
||||
# change DEBUG to False if you want to compile the code to exe
|
||||
DEBUG = "__compiled__" not in globals()
|
||||
|
||||
|
||||
YEAR = 2025
|
||||
AUTHOR = "Miao"
|
||||
VERSION = "v0.0.1"
|
||||
APP_NAME = "miaostarspan"
|
||||
|
||||
CONFIG_FOLDER = Path("config").absolute()
|
||||
CONFIG_FILE = CONFIG_FOLDER / "config.json"
|
||||
DOWNLOAD_FOLDER = Path("download").absolute()
|
||||
# 23
|
||||
Reference in New Issue
Block a user