66 lines
1.6 KiB
TOML
66 lines
1.6 KiB
TOML
[build-system]
|
|
requires = [
|
|
"scikit-build-core>=0.4.4",
|
|
"cmake>=3.18",
|
|
"ninja",
|
|
]
|
|
build-backend = "scikit_build_core.build"
|
|
|
|
[project]
|
|
name = "llama_cpp_python"
|
|
version = "0.1.59"
|
|
description = "Python bindings for the llama.cpp library"
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "Andrei Betlen", email = "abetlen@gmail.com" },
|
|
]
|
|
requires-python = ">=3.7"
|
|
dependencies = [
|
|
"typing-extensions>=4.5.0",
|
|
"numpy>=1.20.0",
|
|
"diskcache>=5.6.1",
|
|
]
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
]
|
|
|
|
[tool.scikit-build]
|
|
wheel.packages = ["llama_cpp", "llama_cpp.server"]
|
|
wheel.expand-macos-universal-tags = true
|
|
cmake.verbose = true
|
|
|
|
[project.optional-dependencies]
|
|
server = [
|
|
"uvicorn",
|
|
"fastapi",
|
|
"sse-starlette",
|
|
]
|
|
test = ["pytest"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8.1"
|
|
typing-extensions = "^4.6.3"
|
|
numpy = "^1.20.0"
|
|
diskcache = "^5.6.1"
|
|
uvicorn = { version = "^0.22.0", optional = true }
|
|
fastapi = { version = "^0.96.0", optional = true }
|
|
sse-starlette = { version = "^1.6.1", optional = true }
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
black = "^23.3.0"
|
|
twine = "^4.0.2"
|
|
mkdocs = "^1.4.3"
|
|
mkdocstrings = {extras = ["python"], version = "^0.22.0"}
|
|
mkdocs-material = "^9.1.15"
|
|
pytest = "^7.3.1"
|
|
httpx = "^0.24.1"
|
|
scikit-build = "0.17.6"
|
|
|
|
[tool.poetry.extras]
|
|
server = ["uvicorn", "fastapi", "sse-starlette"]
|