pyproject.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [tool.poetry]
  2. name = "gguf"
  3. version = "0.17.1"
  4. description = "Read and write ML models in GGUF for GGML"
  5. authors = ["GGML <ggml@ggml.ai>"]
  6. packages = [
  7. {include = "gguf"},
  8. {include = "gguf/py.typed"},
  9. ]
  10. readme = "README.md"
  11. homepage = "https://ggml.ai"
  12. repository = "https://github.com/ggml-org/llama.cpp"
  13. keywords = ["ggml", "gguf", "llama.cpp"]
  14. classifiers = [
  15. "Programming Language :: Python :: 3",
  16. "License :: OSI Approved :: MIT License",
  17. "Operating System :: OS Independent",
  18. ]
  19. [tool.poetry.dependencies]
  20. python = ">=3.8"
  21. numpy = ">=1.17"
  22. tqdm = ">=4.27"
  23. pyyaml = ">=5.1"
  24. requests = ">=2.25"
  25. sentencepiece = { version = ">=0.1.98,<=0.2.0", optional = true }
  26. PySide6 = { version = "^6.9", python = ">=3.9,<3.14", optional = true }
  27. [tool.poetry.dev-dependencies]
  28. pytest = "^5.2"
  29. [tool.poetry.extras]
  30. gui = ["PySide6"]
  31. [build-system]
  32. requires = ["poetry-core>=1.0.0"]
  33. build-backend = "poetry.core.masonry.api"
  34. [tool.poetry.scripts]
  35. gguf-convert-endian = "gguf.scripts.gguf_convert_endian:main"
  36. gguf-dump = "gguf.scripts.gguf_dump:main"
  37. gguf-set-metadata = "gguf.scripts.gguf_set_metadata:main"
  38. gguf-new-metadata = "gguf.scripts.gguf_new_metadata:main"
  39. gguf-editor-gui = "gguf.scripts.gguf_editor_gui:main"