-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the solution you'd like
The setuptools supports reading the version from the source code itself, avoiding repetition and sync problems, like this:
[project]
name = "image-misc"
description = """
Miscellaneous nodes for image manipulation.
Currently just download image with bypass, so you can create workflows including image examples.
No extra dependencies, just an internal module.
"""
dynamic = ["version"]
license = "GPL-3.0-or-later"
dependencies = ["seconohe"]
[project.urls]
Repository = "https://github.com/set-soft/ComfyUI-ImageMisc"
[tool.comfy]
PublisherId = "set-soft"
DisplayName = "Image Misc"
[tool.setuptools.dynamic]
version = {attr = "nodes.__version__"}
But when using it comfy-cli fails to find the version.
In the specs example it looks like the dependencies can be dynamic. So I think dynamic version should also be supported.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request