Using dynamic version

This commit is contained in:
Andrei Betlen 2023-09-12 18:56:36 -04:00
parent e00d182ef4
commit bb4e67e7aa
3 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
from .llama_cpp import *
from .llama import *
from .version import __version__
__version__ = "0.1.85"

View file

@ -1 +0,0 @@
__version__ = "0.1.85"

View file

@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
[project]
name = "llama_cpp_python"
version = "0.1.85"
dynamic = ["version"]
description = "Python bindings for the llama.cpp library"
readme = "README.md"
license = { text = "MIT" }
@ -50,6 +50,10 @@ cmake.minimum-version = "3.12"
minimum-version = "0.5"
ninja.make-fallback = false
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "llama_cpp/__init__.py"
[project.urls]
Homepage = "https://github.com/abetlen/llama-cpp-python"
Issues = "https://github.com/abetlen/llama-cpp-python/issues"