2023-03-23 17:54:14 +00:00
|
|
|
from skbuild import setup
|
2023-03-23 09:33:06 +00:00
|
|
|
|
2023-03-30 10:42:54 +00:00
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
this_directory = Path(__file__).parent
|
2023-04-10 15:33:31 +00:00
|
|
|
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
|
2023-03-30 10:42:54 +00:00
|
|
|
|
2023-03-23 09:33:06 +00:00
|
|
|
setup(
|
2023-03-23 18:24:08 +00:00
|
|
|
name="llama_cpp_python",
|
2023-03-23 09:33:06 +00:00
|
|
|
description="A Python wrapper for llama.cpp",
|
2023-03-30 10:42:54 +00:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
2023-04-25 04:19:44 +00:00
|
|
|
version="0.1.37",
|
2023-03-23 09:33:06 +00:00
|
|
|
author="Andrei Betlen",
|
|
|
|
author_email="abetlen@gmail.com",
|
|
|
|
license="MIT",
|
2023-04-05 20:23:25 +00:00
|
|
|
package_dir={"llama_cpp": "llama_cpp", "llama_cpp.server": "llama_cpp/server"},
|
|
|
|
packages=["llama_cpp", "llama_cpp.server"],
|
2023-03-30 10:42:54 +00:00
|
|
|
install_requires=[
|
|
|
|
"typing-extensions>=4.5.0",
|
|
|
|
],
|
2023-04-05 20:23:25 +00:00
|
|
|
extras_require={
|
|
|
|
"server": ["uvicorn>=0.21.1", "fastapi>=0.95.0", "sse-starlette>=1.3.3"],
|
|
|
|
},
|
2023-03-30 10:42:54 +00:00
|
|
|
python_requires=">=3.7",
|
2023-04-05 08:43:19 +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-03-23 09:33:06 +00:00
|
|
|
)
|