40 lines
927 B
TOML
40 lines
927 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "leann-core"
|
|
version = "0.1.12"
|
|
description = "Core API and plugin system for LEANN"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = { text = "MIT" }
|
|
|
|
# All required dependencies included
|
|
dependencies = [
|
|
"numpy>=1.20.0",
|
|
"tqdm>=4.60.0",
|
|
"psutil>=5.8.0",
|
|
"pyzmq>=23.0.0",
|
|
"msgpack>=1.0.0",
|
|
"torch>=2.0.0",
|
|
"sentence-transformers>=2.2.0",
|
|
"llama-index-core>=0.12.0",
|
|
"python-dotenv>=1.0.0",
|
|
"openai>=1.0.0",
|
|
"huggingface-hub>=0.20.0",
|
|
"transformers>=4.30.0",
|
|
"requests>=2.25.0",
|
|
"accelerate>=0.20.0",
|
|
"PyPDF2>=3.0.0",
|
|
"pymupdf>=1.23.0",
|
|
"pdfplumber>=0.10.0",
|
|
"mlx>=0.26.3; sys_platform == 'darwin'",
|
|
"mlx-lm>=0.26.0; sys_platform == 'darwin'",
|
|
]
|
|
|
|
[project.scripts]
|
|
leann = "leann.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"] |