llama.cpp/pyproject.toml

80 lines
2.1 KiB
TOML
Raw Normal View History

2023-06-09 01:49:42 +00:00
[build-system]
requires = [
"scikit-build-core>=0.4.4",
"cmake>=3.18",
"ninja",
]
build-backend = "scikit_build_core.build"
[project]
name = "llama_cpp_python"
2023-06-09 15:52:07 +00:00
version = "0.1.60"
2023-03-23 09:33:06 +00:00
description = "Python bindings for the llama.cpp library"
readme = "README.md"
2023-06-09 01:49:42 +00:00
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",
2023-03-23 09:33:06 +00:00
]
2023-06-09 01:49:42 +00:00
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",
]
2023-06-09 20:52:17 +00:00
[project.urls]
Homepage = "https://github.com/abetlen/llama-cpp-python"
Documentation = "https://abetlen.github.io/llama-cpp-python"
Discussions = "https://github.com/abetlen/llama-cpp-python/discussions"
Issues = "https://github.com/abetlen/llama-cpp-python/issues"
Changelog = "https://github.com/abetlen/llama-cpp-python/blob/main/CHANGELOG.md"
2023-06-09 01:49:42 +00:00
[tool.scikit-build]
wheel.packages = ["llama_cpp", "llama_cpp.server"]
wheel.expand-macos-universal-tags = true
cmake.verbose = true
[project.optional-dependencies]
server = [
2023-06-09 01:59:58 +00:00
"uvicorn",
"fastapi",
"sse-starlette",
2023-06-09 01:49:42 +00:00
]
2023-06-09 02:03:24 +00:00
test = ["pytest", "httpx"]
2023-03-23 09:33:06 +00:00
[tool.poetry]
name = "llama_cpp_python"
2023-06-09 15:52:07 +00:00
version = "0.1.60"
description = "Python bindings for the llama.cpp library"
authors = ["Andrei Betlen <abetlen@gmail.com>"]
2023-03-23 09:33:06 +00:00
[tool.poetry.dependencies]
python = "^3.8.1"
typing-extensions = "^4.6.3"
2023-05-30 07:06:57 +00:00
numpy = "^1.20.0"
2023-05-31 20:41:35 +00:00
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 }
2023-03-23 09:33:06 +00:00
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
2023-03-23 18:24:08 +00:00
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"
2023-03-23 09:33:06 +00:00
[tool.poetry.extras]
server = ["uvicorn", "fastapi", "sse-starlette"]