Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
410 B
Python
17 lines
410 B
Python
"""
|
|
ComfyUI custom_nodes entry shim.
|
|
|
|
ComfyUI's loader expects a package-level __init__.py in the custom_nodes folder.
|
|
We forward-load the V3 comfy_entrypoint from src/bfl_bridge.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
_THIS_DIR = Path(__file__).resolve().parent
|
|
_SRC_DIR = _THIS_DIR / "src"
|
|
if _SRC_DIR.exists():
|
|
sys.path.insert(0, str(_SRC_DIR))
|
|
|
|
from bfl_bridge import comfy_entrypoint # noqa: F401
|