42 lines
1 KiB
TOML
42 lines
1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "imajin-request-classifier"
|
|
version = "1.0.0"
|
|
description = "Stage 1: Cultural classification for image generation requests"
|
|
authors = [{name = "Lilith"}]
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.32.0",
|
|
"pydantic>=2.10.0",
|
|
"pydantic-settings>=2.6.0",
|
|
"httpx>=0.27.0",
|
|
"lilith-ollama-provider>=0.1.0",
|
|
"model-boss>=4.0.0",
|
|
# Observability
|
|
"structlog>=24.0.0",
|
|
"prometheus-fastapi-instrumentator>=7.0.0",
|
|
# Lilith service infrastructure
|
|
"lilith-service-fastapi-bootstrap>=3.0.0",
|
|
"lilith-service-addresses[yaml]>=1.1.0",
|
|
"lilith-ml-exceptions>=0.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=9.0.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"pytest-cov>=6.0.0",
|
|
"mypy>=1.10.0",
|
|
"ruff>=0.8.0",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["service/src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["service/tests"]
|
|
asyncio_mode = "auto"
|