quivr/backend/pyproject.toml
AmineDiro 9d3e9edfd2
feat: quivr api use quivr core (#2868)
# Description

- `quivr-api` uses `quivr-core` for generating   
- separate `rag_service` 
- removed the package quivr_core from api.
2024-07-15 10:10:03 -07:00

50 lines
1.5 KiB
TOML

[tool.poetry]
name = "quivr-monorepo"
version = "0.0.1"
description = "Quivr monorepo"
authors = ["aminediro <amine@quivr.app"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
quivr-core = { path = "core", develop = true, extras = ["base"] }
quivr-api = { path = "api", develop = true }
torch = [
{ version = "2.3.1", source = "pypi", platform = "darwin" },
{ version = "2.3.1", source = "pypi", platform = "linux", markers = "platform_machine != 'x86_64'" },
{ version = "2.3.1+cpu", source = "pytorch-cpu-src", platform = "linux", markers = "platform_machine == 'x86_64'" },
{ version = "2.3.1+cpu", source = "pytorch-cpu-src", platform = "win32" },
]
torchvision = [
{ version = "0.18.1", source = "pypi", platform = "darwin" },
{ version = "0.18.1", source = "pypi", platform = "linux", markers = "platform_machine != 'x86_64'" },
{ version = "0.18.1+cpu", source = "pytorch-cpu-src", platform = "linux", markers = "platform_machine == 'x86_64'" },
{ version = "0.18.1+cpu", source = "pytorch-cpu-src", platform = "win32" },
]
mypy = "^1.10.0"
pre-commit = "^3.7.1"
ipykernel = "*"
ruff = "^0.4.8"
flake8 = "*"
flake8-black = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-asyncio = "^0.23.7"
pytest-dotenv = "*"
pytest-mock = "*"
pytest-celery = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "pytorch-cpu-src"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"