From cee706c8814f36ca3f0889bf27f414b68ccd3edb Mon Sep 17 00:00:00 2001 From: Bruno Madeira Date: Thu, 5 Sep 2024 21:40:52 +0100 Subject: [PATCH] attempt to install pyastar2d on first installation --- install.py | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/install.py b/install.py index 46308b3..a52d701 100644 --- a/install.py +++ b/install.py @@ -8,3 +8,7 @@ if __name__ == "__main__": script_path = os.path.abspath(__file__) project_dir = os.path.dirname(script_path) subprocess.check_call([sys.executable, "-m", "pip", "install", "-e", f"{project_dir}"]) + try: + subprocess.check_call([sys.executable, "-m", "pip", "install", "pyastar2d==1.0.6"]) + except subprocess.CalledProcessError as e: + print(f"Failed to install optional package pyastar2d due to the following error:\n{e}") diff --git a/pyproject.toml b/pyproject.toml index 2055c1e..ef18423 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_quilting" description = "image and latent quilting nodes for comfyui" -version = "3.0.0" +version = "3.0.1" license = {text = "MIT License"} dependencies = [ 'bmquilting[comfy] @ git+https://github.com/bmad4ever/bmquilting.git'