nodes.py: - move json/urllib/logging imports to module top - replace inline imports inside _get_balance with module-level log - extract endpoint/key constants instead of inline literals - add from __future__ import annotations for cleaner typing - document the error-path padding to 4-tuple matching RETURN_TYPES Root __init__.py: - expose WEB_DIRECTORY pointing at custom_nodes/credit_tracker/js so the live-update extension loads when the repo is installed as custom_fns/ pyproject.toml: - fix invalid build-backend (was setuptools.backends.legacy:build) - bump to 0.2.0, add author/homepage fields README + CONFLUENCE: - document balance check, block_if_insufficient, and optional wired inputs - update sample output to include Balance / After run / Status lines - drop stale "no API calls" line and inaccurate "41 models total" claim - mention JS pricing mirror must be updated alongside Python PRICING Made-with: Cursor
21 lines
572 B
TOML
21 lines
572 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "comfyui-credit-tracker"
|
|
version = "0.2.0"
|
|
description = "Pre-flight cost estimator with live balance check for ComfyUI Partner Nodes"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Av007" }]
|
|
urls = { Homepage = "https://github.com/Av007/custom_fns" }
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["custom_nodes*"]
|
|
|
|
[project.entry-points."comfyui.custom_node"]
|
|
credit_tracker = "custom_nodes.credit_tracker"
|