[Added] Node version during registration
This commit is contained in:
+2
-2
@@ -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
@@ -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
@@ -1,4 +1,4 @@
|
||||
torch
|
||||
torchaudio
|
||||
numpy
|
||||
seconohe
|
||||
seconohe>=1.0.2
|
||||
|
||||
Reference in New Issue
Block a user