|
1 | | -[build-system] |
2 | | -requires = [ |
3 | | - "scikit-build-core>=0.4.4", |
4 | | - "cmake>=3.18", |
5 | | - "ninja", |
6 | | -] |
7 | | -build-backend = "scikit_build_core.build" |
8 | | - |
9 | | -[project] |
| 1 | +[tool.poetry] |
10 | 2 | name = "llama_cpp_python" |
11 | 3 | version = "0.1.60" |
12 | 4 | description = "Python bindings for the llama.cpp library" |
| 5 | +authors = [ "Andrei Betlen <[email protected]>"] |
| 6 | +license = "MIT" |
13 | 7 | readme = "README.md" |
14 | | -license = { text = "MIT" } |
15 | | -authors = [ |
16 | | - { name = "Andrei Betlen", email = "[email protected]" }, |
17 | | -] |
18 | | -requires-python = ">=3.7" |
19 | | -dependencies = [ |
20 | | - "typing-extensions>=4.5.0", |
21 | | - "numpy>=1.20.0", |
22 | | - "diskcache>=5.6.1", |
23 | | -] |
24 | | -classifiers = [ |
25 | | - "Programming Language :: Python :: 3", |
26 | | - "Programming Language :: Python :: 3.7", |
27 | | - "Programming Language :: Python :: 3.8", |
28 | | - "Programming Language :: Python :: 3.9", |
29 | | - "Programming Language :: Python :: 3.10", |
30 | | - "Programming Language :: Python :: 3.11", |
| 8 | +homepage = "https://github.com/abetlen/llama-cpp-python" |
| 9 | +repository = "https://github.com/abetlen/llama-cpp-python" |
| 10 | +packages = [{include = "llama_cpp"}] |
| 11 | +include = [ |
| 12 | + "LICENSE.md", |
31 | 13 | ] |
32 | 14 |
|
33 | | -[project.urls] |
34 | | -Homepage = "https://github.com/abetlen/llama-cpp-python" |
35 | | -Documentation = "https://abetlen.github.io/llama-cpp-python" |
36 | | -Discussions = "https://github.com/abetlen/llama-cpp-python/discussions" |
37 | | -Issues = "https://github.com/abetlen/llama-cpp-python/issues" |
38 | | -Changelog = "https://github.com/abetlen/llama-cpp-python/blob/main/CHANGELOG.md" |
39 | | - |
40 | | -[tool.scikit-build] |
41 | | -wheel.packages = ["llama_cpp", "llama_cpp.server"] |
42 | | -wheel.expand-macos-universal-tags = true |
43 | | -cmake.verbose = true |
44 | | - |
45 | | -[project.optional-dependencies] |
46 | | -server = [ |
47 | | - "uvicorn", |
48 | | - "fastapi", |
49 | | - "sse-starlette", |
50 | | -] |
51 | | -test = ["pytest", "httpx"] |
52 | | - |
53 | 15 | [tool.poetry] |
54 | 16 | name = "llama_cpp_python" |
55 | 17 | version = "0.1.60" |
@@ -77,3 +39,12 @@ scikit-build = "0.17.6" |
77 | 39 |
|
78 | 40 | [tool.poetry.extras] |
79 | 41 | server = ["uvicorn", "fastapi", "sse-starlette"] |
| 42 | + |
| 43 | +[build-system] |
| 44 | +requires = [ |
| 45 | + "setuptools>=42", |
| 46 | + "scikit-build>=0.13", |
| 47 | + "cmake>=3.18", |
| 48 | + "ninja", |
| 49 | +] |
| 50 | +build-backend = "setuptools.build_meta" |
0 commit comments