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.
Files changed (34) hide show
  1. {comfy_env-0.1.11 → comfy_env-0.1.12}/PKG-INFO +1 -1
  2. {comfy_env-0.1.11 → comfy_env-0.1.12}/pyproject.toml +1 -1
  3. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/nodes.py +15 -10
  4. {comfy_env-0.1.11 → comfy_env-0.1.12}/.github/workflows/ci.yml +0 -0
  5. {comfy_env-0.1.11 → comfy_env-0.1.12}/.github/workflows/publish.yml +0 -0
  6. {comfy_env-0.1.11 → comfy_env-0.1.12}/.gitignore +0 -0
  7. {comfy_env-0.1.11 → comfy_env-0.1.12}/LICENSE +0 -0
  8. {comfy_env-0.1.11 → comfy_env-0.1.12}/README.md +0 -0
  9. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/__init__.py +0 -0
  10. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/cli.py +0 -0
  11. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/config/__init__.py +0 -0
  12. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/config/parser.py +0 -0
  13. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/config/types.py +0 -0
  14. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/errors.py +0 -0
  15. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/install.py +0 -0
  16. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/isolation/__init__.py +0 -0
  17. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/isolation/wrap.py +0 -0
  18. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/__init__.py +0 -0
  19. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/core.py +0 -0
  20. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/cuda_detection.py +0 -0
  21. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/__init__.py +0 -0
  22. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/base.py +0 -0
  23. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/darwin.py +0 -0
  24. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/linux.py +0 -0
  25. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/platform/windows.py +0 -0
  26. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/pixi/resolver.py +0 -0
  27. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/prestartup.py +0 -0
  28. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/templates/comfy-env-instructions.txt +0 -0
  29. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/templates/comfy-env.toml +0 -0
  30. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/__init__.py +0 -0
  31. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/base.py +0 -0
  32. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/mp.py +0 -0
  33. {comfy_env-0.1.11 → comfy_env-0.1.12}/src/comfy_env/workers/subprocess.py +0 -0
  34. {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.11
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "comfy-env"
3
- version = "0.1.11"
3
+ version = "0.1.12"
4
4
  description = "Environment management for ComfyUI custom nodes - CUDA wheel resolution and process isolation"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
@@ -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
- log(f" Installing requirements for {node_dir.name}...")
89
- result = subprocess.run(
90
- ["uv", "pip", "install", "-r", str(requirements_file), "--python", sys.executable],
91
- cwd=node_dir,
92
- capture_output=True,
93
- text=True,
94
- )
95
- if result.returncode != 0:
96
- log(f" Warning: requirements.txt install failed for {node_dir.name}: {result.stderr.strip()[:200]}")
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