Merge pull request #6560 from developer-wlj/v3-260903

This commit is contained in:
jxxghp
2026-09-03 12:09:45 +08:00
committed by GitHub

View File

@@ -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",