Files

35 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "comfyui-hymt2"
version = "0.1.2"
description = "ComfyUI custom nodes for Tencent's Hy-MT2 translation model family (1.8B / 7B / 30B-A3B)."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [{ name = "aadebuger" }]
keywords = ["comfyui", "translation", "hunyuan", "hy-mt2", "tencent"]
# IMPORTANT: do NOT list torch here. ComfyUI's own venv already has the right
# torch build. Putting it in dependencies makes `uv run` rebuild a separate
# torch (see v2.0 §2.4). Same goes for huggingface_hub.
dependencies = [
"transformers>=5.6.0",
"tokenizers>=0.22.0",
"accelerate>=0.30",
]
[project.urls]
"Homepage" = "https://github.com/aadebuger/ComfyUI-HyMT2"
"Model card" = "https://huggingface.co/tencent/Hy-MT2-1.8B"
[tool.setuptools]
packages = ["nodes"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra --strict-markers --import-mode=importlib"