34 lines
659 B
TOML
34 lines
659 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "llamacpp-ha"
|
|
version = "0.3.0"
|
|
description = "Smart load balancer for llama.cpp servers"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.32",
|
|
"aiohttp>=3.11",
|
|
"pydantic-settings>=2.7",
|
|
"pydantic>=2.10",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"httpx>=0.28",
|
|
"pytest>=8",
|
|
"pytest-asyncio>=0.24",
|
|
]
|
|
|
|
[project.scripts]
|
|
llamacpp-ha = "llamacpp_ha.__main__:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/llamacpp_ha"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|