- Cap pyzmq version to <27 for manylinux2014 compatibility - Pre-install pyzmq binary wheel before tests using CIBW_BEFORE_TEST - Force pip to use only binary wheels with --only-binary :all:
30 lines
684 B
TOML
30 lines
684 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "leann-core"
|
|
version = "0.1.8"
|
|
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,<27", # Cap at 26.x for manylinux2014 compatibility
|
|
"msgpack>=1.0.0",
|
|
"torch>=2.0.0",
|
|
"sentence-transformers>=2.2.0",
|
|
"llama-index-core>=0.12.0",
|
|
"python-dotenv>=1.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
leann = "leann.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"] |