Skip to content

Commit

Permalink
feat: cm-cli - post-install
Browse files Browse the repository at this point in the history
  • Loading branch information
ltdrdata committed May 25, 2024
1 parent 3c14b73 commit 012fe6c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions cm-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,17 @@ def restore_dependencies():
i += 1


@app.command(
"post-install", help="Install dependencies and execute installation script"
)
def post_install(
path: str = typer.Argument(
help="path to custom node",
)):
path = os.path.expanduser(path)
cm_ctx.post_install(path)


@app.command(
"install-deps",
help="Install dependencies from dependencies file(.json) or workflow(.png/.json)",
Expand Down
2 changes: 1 addition & 1 deletion glob/manager_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import cm_global
from manager_util import *

version = [2, 34, 1]
version = [2, 35]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')

comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "2.34.1"
version = "2.35"
license = "LICENSE"
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]

Expand Down

0 comments on commit 012fe6c

Please sign in to comment.