mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-03 13:55:00 +08:00
Merge pull request #6560 from developer-wlj/v3-260903
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
"""主程序运行依赖的轻量可用性探针。"""
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import shutil
|
||||
from importlib import import_module
|
||||
import sys
|
||||
import sysconfig
|
||||
import warnings
|
||||
|
||||
if os.name == "nt":
|
||||
psql_exe = shutil.which("psql")
|
||||
if psql_exe:
|
||||
getattr(os, "add_dll_directory")(os.path.dirname(psql_exe))
|
||||
|
||||
|
||||
CORE_MODULES = (
|
||||
"alembic",
|
||||
|
||||
Reference in New Issue
Block a user