build: make local embedding dependencies optional

This commit is contained in:
Andrey Avtomonov 2026-05-11 09:54:37 +02:00
parent 131b904229
commit 5461b53f89
2 changed files with 15 additions and 6 deletions

View file

@ -15,15 +15,19 @@ dependencies = [
"psycopg[binary]>=3.2.0",
"pydantic>=2.9.0",
"requests>=2.32.0",
"sentence-transformers>=5.1.1",
"sqlglot>=26",
"torch>=2.2.0",
"uvicorn[standard]>=0.32.0",
]
[project.scripts]
ktx-daemon = "ktx_daemon.__main__:main"
[project.optional-dependencies]
local-embeddings = [
"sentence-transformers>=5.1.1",
"torch>=2.2.0",
]
[project.urls]
Homepage = "https://github.com/kaelio/ktx"
Repository = "https://github.com/kaelio/ktx"