Remaking pyproject.toml for publishing

This commit is contained in:
Nguyễn Đình Quý
2025-10-08 08:10:11 +07:00
parent 2958908ddb
commit f05e4b7ca6
+24 -76
View File
@@ -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"