fix: add __init__.py for packaging, fix comfyui-manager path

This commit is contained in:
vairleon 2024-08-31 16:15:33 +08:00
parent 9db07fd32c
commit d5a4da37cd
6 changed files with 11 additions and 4 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ __pycache__/
/temp/ /temp/
/custom_nodes/ /custom_nodes/
!custom_nodes/example_node.py.example !custom_nodes/example_node.py.example
!custom_nodes/ComfyUI-Manager
extra_model_paths.yaml extra_model_paths.yaml
/.vs /.vs
.vscode/ .vscode/

6
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "ComfyUI-Manager"]
path = ComfyUI-Manager
url = https://github.com/ltdrdata/ComfyUI-Manager
[submodule "ComfyUI-to-Python-Extension"] [submodule "ComfyUI-to-Python-Extension"]
path = ComfyUI-to-Python-Extension path = ComfyUI-to-Python-Extension
url = https://github.com/Alschain/ComfyUI-to-Python-Extension url = https://github.com/Alschain/ComfyUI-to-Python-Extension
[submodule "custom_nodes/ComfyUI-Manager"]
path = custom_nodes/ComfyUI-Manager
url = https://github.com/ltdrdata/ComfyUI-Manager

@ -1 +0,0 @@
Subproject commit d7170c0264ca1623b7a4ba7d63756a9b54a7d119

6
__init__.py Normal file
View File

@ -0,0 +1,6 @@
import os
import sys
sys.path.append(os.path.dirname(__file__))
from ComfyUI import (
comfy,
)

0
comfy/__init__.py Normal file
View File

@ -0,0 +1 @@
Subproject commit 0f679ac99c3ae83a1ce58579916afec1faf257c8