change source of llama-cpp-python to local repo

This commit is contained in:
Florian Förster 2026-03-12 14:55:46 +01:00
parent 1b421a4813
commit 7c87e44067
2 changed files with 6 additions and 3 deletions

4
pdm.lock generated
View File

@ -5,7 +5,7 @@
groups = ["default", "data", "dev", "lint", "nb", "tests"] groups = ["default", "data", "dev", "lint", "nb", "tests"]
strategy = ["inherit_metadata"] strategy = ["inherit_metadata"]
lock_version = "4.5.0" lock_version = "4.5.0"
content_hash = "sha256:09a0995967c479d4657364eab0f263a59c3fe8496c02a184f07731322920a90e" content_hash = "sha256:ec003f65d538cb1d6584217275bdf601d5f956c065b5e5f4254f87eef7abf25a"
[[metadata.targets]] [[metadata.targets]]
requires_python = ">=3.11,<3.14" requires_python = ">=3.11,<3.14"
@ -1423,7 +1423,7 @@ dependencies = [
"typing-extensions>=4.5.0", "typing-extensions>=4.5.0",
] ]
files = [ files = [
{file = "llama_cpp_python-0.3.16.tar.gz", hash = "sha256:34ed0f9bd9431af045bb63d9324ae620ad0536653740e9bb163a2e1fcb973be6"}, {file = "llama_cpp_python-0.3.16-cp311-cp311-win_amd64.whl", hash = "sha256:0cb88b0fadfa98fda324762d0841754fe23a6d323474d1fea6562d0a0f71ed71"},
] ]
[[package]] [[package]]

View File

@ -5,7 +5,7 @@ description = "use case for M.O.P. - T.O.M.: search semantically for problems an
authors = [ authors = [
{name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"}, {name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"},
] ]
dependencies = ["torch>=2.10.0", "torchvision>=0.25.0", "llama-cpp-python>=0.3.16", "dopt-basics>=0.2.4"] dependencies = ["torch>=2.10.0", "torchvision>=0.25.0", "dopt-basics>=0.2.4", "llama-cpp-python>=0.3.16"]
requires-python = "<3.14,>=3.11" requires-python = "<3.14,>=3.11"
readme = "README.md" readme = "README.md"
license = {text = "LicenseRef-Proprietary"} license = {text = "LicenseRef-Proprietary"}
@ -137,10 +137,13 @@ exclude_packages = ["llama-cpp*"]
name = "private" name = "private"
url = "http://localhost:8001/simple" url = "http://localhost:8001/simple"
verify_ssl = false verify_ssl = false
include_packages = ["llama-cpp-python*"]
[[tool.pdm.source]] [[tool.pdm.source]]
name = "pypi" name = "pypi"
url = "https://pypi.org/simple" url = "https://pypi.org/simple"
exclude_packages = ["llama-cpp*"]
[dependency-groups] [dependency-groups]
tests = [ tests = [
"pytest>=8.3.4", "pytest>=8.3.4",