comfy-env 0.1.11__tar.gz → 0.1.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {comfy_env-0.1.11 → comfy_env-0.1.12}/PKG-INFO +1 -1
- {comfy_env-0.1.11 → comfy_env-0.1.12}/pyproject.toml +1 -1
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/nodes.py +15 -10
- {comfy_env-0.1.11 → comfy_env-0.1.12}/.github/workflows/ci.yml +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/.github/workflows/publish.yml +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/.gitignore +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/LICENSE +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/README.md +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/__init__.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/cli.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/config/__init__.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/config/parser.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/config/types.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/errors.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/install.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/isolation/__init__.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/isolation/wrap.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/__init__.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/core.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/cuda_detection.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/__init__.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/base.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/darwin.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/linux.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/windows.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/resolver.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/prestartup.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/templates/comfy-env-instructions.txt +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/templates/comfy-env.toml +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/__init__.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/base.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/mp.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/subprocess.py +0 -0
- {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/tensor_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comfy-env
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.12
|
|
4
4
|
Summary: Environment management for ComfyUI custom nodes - CUDA wheel resolution and process isolation
|
|
5
5
|
Project-URL: Homepage, https://github.com/PozzettiAndrea/comfy-env
|
|
6
6
|
Project-URL: Repository, https://github.com/PozzettiAndrea/comfy-env
|
|
@@ -10,6 +10,7 @@ Example configuration:
|
|
|
10
10
|
ComfyUI-DepthAnythingV2 = "kijai/ComfyUI-DepthAnythingV2"
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
+
import shutil
|
|
13
14
|
import subprocess
|
|
14
15
|
import sys
|
|
15
16
|
from pathlib import Path
|
|
@@ -84,16 +85,20 @@ def install_requirements(
|
|
|
84
85
|
"""
|
|
85
86
|
requirements_file = node_dir / "requirements.txt"
|
|
86
87
|
|
|
87
|
-
if requirements_file.exists():
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
)
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
if not requirements_file.exists():
|
|
89
|
+
return
|
|
90
|
+
|
|
91
|
+
log(f" Installing requirements for {node_dir.name}...")
|
|
92
|
+
|
|
93
|
+
# Try uv first, fall back to pip if uv not in PATH
|
|
94
|
+
if shutil.which("uv"):
|
|
95
|
+
cmd = ["uv", "pip", "install", "-r", str(requirements_file), "--python", sys.executable]
|
|
96
|
+
else:
|
|
97
|
+
cmd = [sys.executable, "-m", "pip", "install", "-r", str(requirements_file)]
|
|
98
|
+
|
|
99
|
+
result = subprocess.run(cmd, cwd=node_dir, capture_output=True, text=True)
|
|
100
|
+
if result.returncode != 0:
|
|
101
|
+
log(f" Warning: requirements.txt install failed for {node_dir.name}: {result.stderr.strip()[:200]}")
|
|
97
102
|
|
|
98
103
|
|
|
99
104
|
def run_install_script(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|