From f05e4b7ca66e46eee108ad14922678bc60fdc729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20=C4=90=C3=ACnh=20Qu=C3=BD?= Date: Wed, 8 Oct 2025 08:10:11 +0700 Subject: [PATCH] Remaking pyproject.toml for publishing --- pyproject.toml | 100 ++++++++++++------------------------------------- 1 file changed, 24 insertions(+), 76 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0d9b629..161c87c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,89 +1,37 @@ -[build-system] -requires = ["setuptools>=70.0"] -build-backend = "setuptools.build_meta" - [project] name = "arg-toolkit" +description = "" version = "1.0.0" -description = "A collection of ComfyUI nodes for cryptography, steganography, encryption, decryption, and tools needed to both make and solve ARGs (Alternative Reality Games) and secret messages." -authors = [ - {name = "AzelusLightvale", email = "NexusLightvale@protonmail.com"} +license = {file = "LICENSE"} +classifiers = [ +# # For OS-independent nodes (works on all operating systems) + "Operating System :: OS Independent", +# +# # OR for OS-specific nodes, specify the supported systems: +# "Operating System :: Microsoft :: Windows", # Windows specific +# "Operating System :: POSIX :: Linux", # Linux specific +# "Operating System :: MacOS", # macOS specific +# +# # GPU Accelerator support. Pick the ones that are supported by your extension. +# "Environment :: GPU :: NVIDIA CUDA", # NVIDIA CUDA support +# "Environment :: GPU :: AMD ROCm", # AMD ROCm support +# "Environment :: GPU :: Intel Arc", # Intel Arc support +# "Environment :: NPU :: Huawei Ascend", # Huawei Ascend support +# "Environment :: GPU :: Apple Metal", # Apple Metal support ] -readme = "README.md" -license = {text = "LICENSE"} -requires-python = ">=3.10" -classifiers = ["Operating System :: OS Independent",] -dependencies = [] -dynamic = ["dependencies"] - - -[project.optional-dependencies] -dev = [ - "bump-my-version", - "coverage", # testing - "mypy", # linting - "pre-commit", # runs linting on commit - "pytest", # testing - "ruff", # lintingclass -] +dependencies = ["secretpy", "cryptography", "stegano", "invisible-watermark"] [project.urls] Repository = "https://github.com/AzelusLightvale/ComfyUI-ARG-Toolkit" -BugTracker = "https://github.com/AzelusLightvale/ComfyUI-ARG-Toolkit/issues" +# Used by Comfy Registry https://registry.comfy.org Documentation = "https://github.com/AzelusLightvale/ComfyUI-ARG-Toolkit/wiki" - +"Bug Tracker" = "https://github.com/AzelusLightvale/ComfyUI-ARG-Toolkit/issues" [tool.comfy] -PublisherId = "AzelusLightvale" -DisplayName = "ComfyUI ARG Toolkit" +PublisherId = "" +DisplayName = "ComfyUI-ARG-Toolkit" Icon = "" -Tags = [] -Repository = "https://github.com/AzelusLightvale/ComfyUI-ARG-Toolkit" +includes = [] +# "requires-comfyui" = ">=1.0.0" # ComfyUI version compatibility -includes = [] - -[tool.setuptools.package-data] -"*" = ["*.*"] - -[tool.setuptools.dynamic] -dependencies = {file = ["requirements.txt"]} - -[tool.pytest.ini_options] -minversion = "8.0" -testpaths = [ - "tests", -] - -[tool.mypy] -files = "." - -# Use strict defaults -strict = true -warn_unreachable = true -warn_no_return = true - -[[tool.mypy.overrides]] -# Don't require test functions to include types -module = "tests.*" -allow_untyped_defs = true -disable_error_code = "attr-defined" - -[tool.ruff] -# extend-exclude = ["static", "ci/templates"] -line-length = 140 -src = ["src", "tests"] -target-version = "py39" - -# Add rules to ban exec/eval -[tool.ruff.lint] -select = [ - "S102", # exec-builtin - "S307", # eval-used - "W293", - "F", # The "F" series in Ruff stands for "Pyflakes" rules, which catch various Python syntax errors and undefined names. - # See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f -] - -[tool.ruff.lint.flake8-quotes] -inline-quotes = "double"