canter / pyproject.toml
levzalt's picture
Duplicate from data-archetype/canter
66ab0dd
Raw
History Blame Contribute Delete
715 Bytes
[build-system]
requires = ["hatchling>=1.28,<2"]
build-backend = "hatchling.build"
[project]
name = "canter"
version = "0.1.0"
description = "Lean inference package for the Canter text-to-image flow model"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = { file = "LICENSE" }
dependencies = [
"gradio>=6.20,<6.21",
"huggingface-hub>=1.15,<2",
"numpy>=2,<3",
"pillow>=12,<13",
"safetensors>=0.7,<0.8",
"scipy>=1.17,<2",
"torch>=2.12,<2.13",
"transformers>=5.12,<5.13",
]
[project.scripts]
canter-web = "canter.webui:main"
[project.optional-dependencies]
test = [
"pytest>=9,<10",
"ruff>=0.14,<0.15",
]
[tool.hatch.build.targets.wheel]
packages = ["canter"]