This commit is contained in:
Terry Jia 2025-05-31 08:04:34 -04:00
parent 714b002fd6
commit a21e49c18b

View File

@ -17,12 +17,12 @@ from comfy_config.types import (
""" """
Original implementation comes from https://github.com/Comfy-Org/comfy-cli/blob/2e36f33dd39ef43b5acf7d1fc5acc5e01be92360/comfy_cli/registry/config_parser.py#L146 Original implementation comes from https://github.com/Comfy-Org/comfy-cli/blob/2e36f33dd39ef43b5acf7d1fc5acc5e01be92360/comfy_cli/registry/config_parser.py#L146
Extract configuration from a custom node directory's pyproject.toml file. Extract configuration from a custom node directory's pyproject.toml file.
This function reads and parses the pyproject.toml file in the specified directory This function reads and parses the pyproject.toml file in the specified directory
to extract project and ComfyUI-specific configuration information. If no to extract project and ComfyUI-specific configuration information. If no
pyproject.toml file is found, it creates a minimal configuration using the pyproject.toml file is found, it creates a minimal configuration using the
folder name as the project name. folder name as the project name.
Args: Args: