File size: 780 Bytes
47cf0df 91bfeb5 47cf0df f19e63b 47cf0df df27b3e 47cf0df df27b3e 47cf0df 91bfeb5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | [build-system]
requires = ["hatchling>=1.28,<2"]
build-backend = "hatchling.build"
[project]
name = "canter"
dynamic = ["version"]
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 = [
"huggingface-hub>=1.15,<2",
"numpy>=2,<3",
"pillow>=12,<13",
"safetensors>=0.7,<0.8",
"scipy>=1.17,<2",
"torch>=2.13,<2.14",
"transformers>=5.12,<5.13",
]
[project.optional-dependencies]
webui = [
"gradio>=6.20,<6.21",
]
test = [
"pytest>=9,<10",
"ruff>=0.14,<0.15",
]
[project.scripts]
canter-web = "canter.webui:main"
[tool.hatch.build.targets.wheel]
packages = ["canter"]
[tool.hatch.version]
path = "canter/version.py"
|