# zig build-system: https://github.com/EdenInTheEast/zig/blob/main/pyproject.toml
# maturin build-system bootstrapped: https://github.com/PyO3/maturin/blob/main/pyproject.toml

# Following the UV pattern
# uv build-system maturin: https://github.com/astral-sh/uv/blob/main/pyproject.toml
[build-system]
requires = ["hatchling", "uv-dynamic-versioning>=0.7.0"]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "uv-dynamic-versioning"

[tool.hatch.build.targets.wheel]
packages = ["src/rdrag"]

[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
bump = true

[project]
name = "privatera"
packages = ["src/rdrag"]
version = "0.1.9"
description = "Accelerate your drug discovery R&D in private (VPC, on-prem, on-lap) with a RAG. Everything is free and open source to give you a state-of-the-art RAG without the rugpull."
readme = "README.md"
authors = [
    { name = "hobs", email = "git@totalgood.com" }
]
requires-python = ">=3.12"
dependencies = [
    "dotenv>=0.9.9",
    "eralchemy[graphviz]>=1.6.0",
    "fastapi==0.121.2",
    "html-to-markdown",
    "ipython>=9.6.0",
    #    "jupyter>=1.1.1",
    #    "jupyter-console>=6.6.3",
    "langchain>=1.0.3",
    "markdown-chunker>=0.1.3",
    "meilisearch-python-sdk>=5.4.0",
    #    "nlpia2-wikipedia>=1.5.12",
    "nlpia2-wikipedia>=1.6.0",
    "openai>=2.6.1",
    "pandas[html,excel,plot,hdf5]",
    "psycopg2-binary>=2.9.11",
    #    "pyllamacpp>=2.4.3",
    "pydantic>=2.12.4",
    "scikit-learn>=1.7.2",
    "starlette>=0.49.0",
    "uuid>=1.30",
    "uvicorn>=0.38.0",
]

[project.optional-dependencies]
dev = [
    "coverage>=7.12.0",
    "huggingface-hub>=1.1.5",
    "pytest>=9.0.1",
]
all = [
    "privatera[dev]",
    ]

