[Added] Node version during registration

This commit is contained in:
Salvador E. Tropea
2025-07-26 11:42:10 -03:00
parent a007f907c2
commit 5641b427c9
3 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -3,11 +3,11 @@
# Copyright (c) 2025 Instituto Nacional de Tecnologïa Industrial
# License: GPL-3.0
# Project: ComfyUI-AudioBatch
from .src.nodes import nodes_audio, main_logger
from .src.nodes import nodes_audio, main_logger, __version__
from seconohe.register_nodes import register_nodes
from seconohe import JS_PATH
NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = register_nodes(main_logger, [nodes_audio])
NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = register_nodes(main_logger, [nodes_audio], version=__version__)
WEB_DIRECTORY = JS_PATH
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
+6 -1
View File
@@ -12,11 +12,16 @@ version = "1.3.0"
# Deprecated mechanism, comfy-cli doesn't support SPDX
license = { file = "LICENSE" }
# Not really used, ComfyUI-Manager doesn't use it
dependencies = ["seconohe"]
# dependencies = ["seconohe>=1.0.2"]
# So we do it in the reverse way ...
dynamic = ["dependencies"]
[project.urls]
Repository = "https://github.com/set-soft/ComfyUI-AudioBatch"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.comfy]
PublisherId = "set-soft"
DisplayName = "Audio Batch"
+1 -1
View File
@@ -1,4 +1,4 @@
torch
torchaudio
numpy
seconohe
seconohe>=1.0.2