comfy-env 0.0.37__tar.gz → 0.0.39__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.0.37 → comfy_env-0.0.39}/PKG-INFO +1 -1
- {comfy_env-0.0.37 → comfy_env-0.0.39}/pyproject.toml +1 -1
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/__init__.py +1 -1
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/install.py +40 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/wheel_sources.yml +9 -4
- {comfy_env-0.0.37 → comfy_env-0.0.39}/.github/workflows/publish.yml +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/.gitignore +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/LICENSE +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/README.md +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/cli.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/decorator.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/__init__.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/config.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/config_file.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/cuda_gpu_detection.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/manager.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/platform/__init__.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/platform/base.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/platform/darwin.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/platform/linux.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/platform/windows.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/env/security.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/errors.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/index_resolver.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/ipc/__init__.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/ipc/bridge.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/ipc/protocol.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/ipc/tensor.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/ipc/torch_bridge.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/ipc/transport.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/ipc/worker.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/nodes.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/pixi.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/registry.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/resolver.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/stubs/__init__.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/stubs/folder_paths.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/workers/__init__.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/workers/base.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/workers/pool.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/workers/tensor_utils.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/workers/torch_mp.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/src/comfy_env/workers/venv.py +0 -0
- {comfy_env-0.0.37 → comfy_env-0.0.39}/untitled.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comfy-env
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.39
|
|
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
|
|
@@ -31,7 +31,7 @@ from .ipc.worker import BaseWorker, register
|
|
|
31
31
|
from .decorator import isolated, shutdown_all_processes
|
|
32
32
|
|
|
33
33
|
# New in-place installation API
|
|
34
|
-
from .install import install, verify_installation
|
|
34
|
+
from .install import install, verify_installation, setup
|
|
35
35
|
from .resolver import RuntimeEnv, WheelResolver
|
|
36
36
|
|
|
37
37
|
# Pixi integration (for conda packages)
|
|
@@ -18,6 +18,7 @@ Example:
|
|
|
18
18
|
install(config="comfy-env.toml", mode="isolated")
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
+
import inspect
|
|
21
22
|
import shutil
|
|
22
23
|
import subprocess
|
|
23
24
|
import sys
|
|
@@ -828,3 +829,42 @@ def verify_installation(
|
|
|
828
829
|
all_ok = False
|
|
829
830
|
|
|
830
831
|
return all_ok
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
def setup(
|
|
835
|
+
log_callback: Optional[Callable[[str], None]] = None,
|
|
836
|
+
dry_run: bool = False,
|
|
837
|
+
) -> bool:
|
|
838
|
+
"""
|
|
839
|
+
One-liner setup that auto-discovers config from caller's directory.
|
|
840
|
+
|
|
841
|
+
This is the simplest way to install dependencies - just call setup()
|
|
842
|
+
from your install.py and it will find the comfy-env.toml in the same
|
|
843
|
+
directory as the calling script.
|
|
844
|
+
|
|
845
|
+
Example:
|
|
846
|
+
# install.py (entire file)
|
|
847
|
+
from comfy_env import setup
|
|
848
|
+
setup()
|
|
849
|
+
|
|
850
|
+
Args:
|
|
851
|
+
log_callback: Optional callback for logging. Defaults to print.
|
|
852
|
+
dry_run: If True, show what would be installed without installing.
|
|
853
|
+
|
|
854
|
+
Returns:
|
|
855
|
+
True if installation succeeded.
|
|
856
|
+
|
|
857
|
+
Raises:
|
|
858
|
+
FileNotFoundError: If no config file found.
|
|
859
|
+
InstallError: If installation fails.
|
|
860
|
+
"""
|
|
861
|
+
# Get the caller's directory by inspecting the stack
|
|
862
|
+
frame = inspect.stack()[1]
|
|
863
|
+
caller_file = frame.filename
|
|
864
|
+
caller_dir = Path(caller_file).parent.resolve()
|
|
865
|
+
|
|
866
|
+
return install(
|
|
867
|
+
node_dir=caller_dir,
|
|
868
|
+
log_callback=log_callback,
|
|
869
|
+
dry_run=dry_run,
|
|
870
|
+
)
|
|
@@ -49,13 +49,13 @@ packages:
|
|
|
49
49
|
description: Spline convolutions for PyTorch
|
|
50
50
|
|
|
51
51
|
# ===========================================================================
|
|
52
|
-
# pytorch3d -
|
|
53
|
-
# https://github.
|
|
52
|
+
# pytorch3d - PyTorch3D 3D deep learning library
|
|
53
|
+
# https://pozzettiandrea.github.io/cuda-wheels
|
|
54
54
|
# ===========================================================================
|
|
55
55
|
pytorch3d:
|
|
56
56
|
method: index
|
|
57
|
-
index_url: "https://
|
|
58
|
-
wheel_template: "https://
|
|
57
|
+
index_url: "https://pozzettiandrea.github.io/cuda-wheels"
|
|
58
|
+
wheel_template: "https://pozzettiandrea.github.io/cuda-wheels/pytorch3d/pytorch3d-{version}%2Bcu{cuda_short}torch{torch_mm}-{py_tag}-{py_tag}-{platform}.whl"
|
|
59
59
|
default_version: "0.7.9"
|
|
60
60
|
description: PyTorch3D - 3D deep learning library
|
|
61
61
|
|
|
@@ -76,6 +76,11 @@ packages:
|
|
|
76
76
|
wheel_template: "https://pozzettiandrea.github.io/cuda-wheels/cumesh/cumesh-{version}%2Bcu{cuda_short}torch{torch_mm}-{py_tag}-{py_tag}-{platform}.whl"
|
|
77
77
|
description: CUDA-accelerated mesh utilities
|
|
78
78
|
|
|
79
|
+
cubvh:
|
|
80
|
+
method: index
|
|
81
|
+
index_url: "https://pozzettiandrea.github.io/cuda-wheels"
|
|
82
|
+
description: CUDA BVH acceleration for mesh operations and marching cubes
|
|
83
|
+
|
|
79
84
|
o_voxel:
|
|
80
85
|
method: index
|
|
81
86
|
index_url: "https://pozzettiandrea.github.io/cuda-wheels"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|