1
0
mirror of https://github.com/containers/ramalama.git synced 2026-02-05 06:46:39 +01:00
Files
ramalama/pyproject.toml
Daniel J Walsh 6ba9a13792 Bump to v0.12.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2025-08-26 07:03:52 -04:00

125 lines
2.8 KiB
TOML

[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "ramalama"
version = "0.12.1"
description = "RamaLama is a command line tool for working with AI LLM models."
readme = "README.md"
requires-python = ">=3.10"
keywords = ["ramalama", "llama", "AI"]
dependencies = [
"argcomplete",
"pyyaml",
]
maintainers = [
{ name="Dan Walsh", email = "dwalsh@redhat.com" },
{ name="Eric Curtin", email = "ecurtin@redhat.com" },
]
[project.license]
text = "MIT"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"argcomplete~=3.0",
"black~=25.0",
"codespell~=2.0",
"flake8~=7.0",
"huggingface_hub~=0.34.0",
"hypothesis>=6.135.26",
"isort~=6.0",
"pytest~=8.3",
"wheel~=0.45.0",
"mypy",
"pyyaml",
]
cov = [
"pytest-cov",
"pyyaml",
]
cov-detailed = [
"pytest-cov",
"pytest-func-cov",
"pytest-report",
"pytest-json",
"pytest-html",
"pyyaml",
]
[project.urls]
Homepage = "https://github.com/containers/ramalama"
Documentation = "https://github.com/containers/ramalama/tree/main/docs"
Repository = "https://github.com/containers/ramalama"
Issues = "https://github.com/containers/ramalama/issues"
[project.scripts]
ramalama = "ramalama.cli:main"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
[tool.black]
line-length = 120
skip-string-normalization = true
preview = true
target-version = ["py310", "py311", "py312", "py313"]
extend-exclude = "(.history|build|dist|docs|hack)"
[tool.isort]
profile = "black"
line_length = 120
skip = [".venv", "venv"]
[tool.codespell]
skip = ["build","ramalama.egg-info", "logos", ".git", "venv", ".venv"]
dictionary = ".codespelldict"
ignore-words-list = ["cann", "clos", "creat", "ro", "hastable", "shouldnot", "mountns", "passt" ,"assertin"]
check-hidden = true
[tool.ruff]
line-length = 120
target-version = "py312"
include = ["\\.pyi?$"]
exclude = [
"/\\.git",
"/\\.tox",
"/\\.venv",
"/\\.history",
"/build",
"/dist",
"/docs",
"/hack",
"/venv"
]
[tool.ruff.format]
preview = true
quote-style = "preserve"
[tool.pytest.ini_options]
testpaths = ["."]
log_cli = true
log_cli_level = "WARN"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.setuptools.packages.find]
include = ["ramalama", "ramalama.*"]
[tool.setuptools.data-files]
"share/ramalama" = ["shortnames/shortnames.conf", "docs/ramalama.conf"]
"share/man/man1" = ["docs/*.1"]
"share/man/man5" = ["docs/*.5"]
"share/man/man7" = ["docs/*.7"]
"share/bash-completion/completions" = ["completions/bash-completion/completions/*"]
"share/zsh/site-functions" = ["completions/zsh/site-functions/*"]
"share/fish/vendor_completions.d" = ["completions/fish/vendor_completions.d/*"]