comfy-env 0.1.6__tar.gz → 0.1.7__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.6 → comfy_env-0.1.7}/PKG-INFO +1 -1
- {comfy_env-0.1.6 → comfy_env-0.1.7}/pyproject.toml +1 -1
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/workers/mp.py +12 -2
- {comfy_env-0.1.6 → comfy_env-0.1.7}/.github/workflows/ci.yml +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/.github/workflows/publish.yml +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/.gitignore +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/LICENSE +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/README.md +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/__init__.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/cli.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/config/__init__.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/config/parser.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/config/types.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/errors.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/install.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/isolation/__init__.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/isolation/wrap.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/nodes.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/__init__.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/core.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/cuda_detection.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/platform/__init__.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/platform/base.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/platform/darwin.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/platform/linux.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/platform/windows.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/pixi/resolver.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/prestartup.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/templates/comfy-env-instructions.txt +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/templates/comfy-env.toml +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/workers/__init__.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/workers/base.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/src/comfy_env/workers/subprocess.py +0 -0
- {comfy_env-0.1.6 → comfy_env-0.1.7}/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.7
|
|
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
|
|
@@ -80,7 +80,7 @@ def _dump_worker_env(worker_name: str = "unknown", print_to_terminal: bool = Fal
|
|
|
80
80
|
print(f"[comfy-env] Python: {sys.executable}")
|
|
81
81
|
print(f"[comfy-env] Version: {sys.version.split()[0]}")
|
|
82
82
|
print(f"[comfy-env] PID: {os.getpid()}, CWD: {os.getcwd()}")
|
|
83
|
-
for var in ['PATH', 'LD_LIBRARY_PATH', 'PYTHONPATH', 'OMP_NUM_THREADS', 'KMP_DUPLICATE_LIB_OK']:
|
|
83
|
+
for var in ['PATH', 'LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH', 'PYTHONPATH', 'OMP_NUM_THREADS', 'KMP_DUPLICATE_LIB_OK']:
|
|
84
84
|
val = os.environ.get(var, '<unset>')
|
|
85
85
|
if len(val) > 100:
|
|
86
86
|
val = val[:100] + '...'
|
|
@@ -143,8 +143,18 @@ def _worker_loop(queue_in, queue_out, sys_path_additions=None, lib_path=None, en
|
|
|
143
143
|
if lib_path:
|
|
144
144
|
clean_parts.insert(0, lib_path)
|
|
145
145
|
os.environ["PATH"] = path_sep.join(clean_parts)
|
|
146
|
+
elif sys.platform == "darwin":
|
|
147
|
+
# macOS: Use DYLD_LIBRARY_PATH
|
|
148
|
+
current = os.environ.get("DYLD_LIBRARY_PATH", "")
|
|
149
|
+
clean_parts = [
|
|
150
|
+
p for p in current.split(path_sep) if p
|
|
151
|
+
and not any(x in p.lower() for x in (".ct-envs", "conda", "mamba", "miniforge", "miniconda", "anaconda"))
|
|
152
|
+
]
|
|
153
|
+
if lib_path:
|
|
154
|
+
clean_parts.insert(0, lib_path)
|
|
155
|
+
os.environ["DYLD_LIBRARY_PATH"] = path_sep.join(clean_parts)
|
|
146
156
|
else:
|
|
147
|
-
# Linux
|
|
157
|
+
# Linux: Use LD_LIBRARY_PATH
|
|
148
158
|
current = os.environ.get("LD_LIBRARY_PATH", "")
|
|
149
159
|
clean_parts = [
|
|
150
160
|
p for p in current.split(path_sep) if p
|
|
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
|