Set up gguf- scripts in pyproject.toml
This commit is contained in:
parent
a21e9e7126
commit
eff662d66e
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,7 @@ authors = ["GGML <ggml@ggml.ai>"]
|
||||||
packages = [
|
packages = [
|
||||||
{include = "gguf"},
|
{include = "gguf"},
|
||||||
{include = "gguf/py.typed"},
|
{include = "gguf/py.typed"},
|
||||||
|
{include = "scripts"},
|
||||||
]
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
homepage = "https://ggml.ai"
|
homepage = "https://ggml.ai"
|
||||||
|
@ -27,3 +28,8 @@ pytest = "^5.2"
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=1.0.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
gguf-convert-endian = "scripts:gguf_convert_endian_entrypoint"
|
||||||
|
gguf-dump = "scripts:gguf_dump_entrypoint"
|
||||||
|
gguf-set-metadata = "scripts:gguf_set_metadata_entrypoint"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue