[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[project]
name = "documents-ingest"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
    "asyncpg>=0.29",
    "structlog>=24.1",
    "aiohttp>=3.9",
    "kb-mail",
    "kb-retrieval",
    "PyYAML>=6.0",
    "anthropic>=0.40",
]

[project.scripts]
documents-ingest = "documents_ingest.extractor:main"
documents-ingest-paperless = "documents_ingest.paperless_adapter:main"
documents-ingest-embed = "documents_ingest.chunk_embed:main"
documents-ingest-summarize = "documents_ingest.summarize:main"
documents-ingest-cyclic = "documents_ingest.cyclic_ingest:main"

[tool.setuptools.packages.find]
where = ["src"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
