* feat: build bento Signed-off-by: Frost Ming <me@frostming.com> * fix bugs Signed-off-by: Frost Ming <me@frostming.com> * fix: refactor main.js Signed-off-by: Frost Ming <me@frostming.com> * feat: build bento button Signed-off-by: Frost Ming <me@frostming.com>
18 lines
469 B
Python
18 lines
469 B
Python
import os
|
|
import subprocess
|
|
import sys
|
|
|
|
from .nodes import api # noqa
|
|
from .nodes.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
|
|
|
print("Comfy-Pack => Installing Python dependencies")
|
|
subprocess.check_call(
|
|
[sys.executable, "-m", "pip", "install", "-r", "requirements.txt"],
|
|
stdout=subprocess.DEVNULL,
|
|
cwd=os.path.dirname(__file__),
|
|
)
|