comfy-env 0.0.45__tar.gz → 0.0.46__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.45 → comfy_env-0.0.46}/PKG-INFO +1 -1
- {comfy_env-0.0.45 → comfy_env-0.0.46}/pyproject.toml +1 -1
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/pixi.py +21 -1
- {comfy_env-0.0.45 → comfy_env-0.0.46}/.github/workflows/publish.yml +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/.gitignore +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/LICENSE +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/README.md +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/__init__.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/cli.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/decorator.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/__init__.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/config.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/config_file.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/cuda_gpu_detection.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/manager.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/platform/__init__.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/platform/base.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/platform/darwin.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/platform/linux.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/platform/windows.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/env/security.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/errors.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/install.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/ipc/__init__.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/ipc/bridge.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/ipc/protocol.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/ipc/tensor.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/ipc/torch_bridge.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/ipc/transport.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/ipc/worker.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/nodes.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/registry.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/resolver.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/stubs/__init__.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/stubs/comfy/__init__.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/stubs/comfy/model_management.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/stubs/comfy/utils.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/stubs/folder_paths.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/wheel_sources.yml +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/workers/__init__.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/workers/base.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/workers/pool.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/workers/tensor_utils.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/workers/torch_mp.py +0 -0
- {comfy_env-0.0.45 → comfy_env-0.0.46}/src/comfy_env/workers/venv.py +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.46
|
|
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
|
|
@@ -224,6 +224,21 @@ def create_pixi_toml(
|
|
|
224
224
|
|
|
225
225
|
# PyPI dependencies section
|
|
226
226
|
pypi_deps = []
|
|
227
|
+
special_deps = {} # For dependencies that need special syntax (path, etc.)
|
|
228
|
+
|
|
229
|
+
# Always include comfy-env for worker support
|
|
230
|
+
# Use local wheel if available (for ct test --local)
|
|
231
|
+
local_wheels_dir = os.environ.get("COMFY_LOCAL_WHEELS")
|
|
232
|
+
if local_wheels_dir:
|
|
233
|
+
local_wheels = list(Path(local_wheels_dir).glob("comfy_env-*.whl"))
|
|
234
|
+
if local_wheels:
|
|
235
|
+
# Use relative path from node_dir
|
|
236
|
+
rel_path = os.path.relpath(local_wheels[0], node_dir)
|
|
237
|
+
special_deps["comfy-env"] = f'{{ path = "{rel_path}" }}'
|
|
238
|
+
else:
|
|
239
|
+
pypi_deps.append("comfy-env")
|
|
240
|
+
else:
|
|
241
|
+
pypi_deps.append("comfy-env")
|
|
227
242
|
|
|
228
243
|
# Add regular requirements
|
|
229
244
|
if env_config.requirements:
|
|
@@ -241,8 +256,13 @@ def create_pixi_toml(
|
|
|
241
256
|
elif sys.platform == "win32" and env_config.windows_requirements:
|
|
242
257
|
pypi_deps.extend(env_config.windows_requirements)
|
|
243
258
|
|
|
244
|
-
if pypi_deps:
|
|
259
|
+
if pypi_deps or special_deps:
|
|
245
260
|
lines.append("[pypi-dependencies]")
|
|
261
|
+
|
|
262
|
+
# Add special dependencies first (path-based, etc.)
|
|
263
|
+
for name, value in special_deps.items():
|
|
264
|
+
lines.append(f'{name} = {value}')
|
|
265
|
+
|
|
246
266
|
for dep in pypi_deps:
|
|
247
267
|
# Parse pip requirement format to pixi format
|
|
248
268
|
dep_clean = dep.strip()
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|