2025-05-04 16:40:07 -05:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=61"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
2024-09-30 12:48:11 -04:00
|
|
|
[project]
|
|
|
|
|
name = "ramalama"
|
2025-08-26 07:03:52 -04:00
|
|
|
version = "0.12.1"
|
2025-05-04 16:40:07 -05:00
|
|
|
description = "RamaLama is a command line tool for working with AI LLM models."
|
|
|
|
|
readme = "README.md"
|
2025-06-02 05:40:31 -04:00
|
|
|
requires-python = ">=3.10"
|
2025-05-04 16:40:07 -05:00
|
|
|
keywords = ["ramalama", "llama", "AI"]
|
2024-09-30 12:48:11 -04:00
|
|
|
dependencies = [
|
2025-06-10 17:49:51 -05:00
|
|
|
"argcomplete",
|
2025-08-19 17:05:51 -04:00
|
|
|
"pyyaml",
|
2024-09-30 12:48:11 -04:00
|
|
|
]
|
|
|
|
|
maintainers = [
|
|
|
|
|
{ name="Dan Walsh", email = "dwalsh@redhat.com" },
|
|
|
|
|
{ name="Eric Curtin", email = "ecurtin@redhat.com" },
|
|
|
|
|
]
|
2025-09-03 13:14:32 -05:00
|
|
|
classifiers = [
|
2025-09-03 15:12:17 -05:00
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
|
"Environment :: Console",
|
|
|
|
|
"Programming Language :: Python :: 3",
|
2025-09-03 13:14:32 -05:00
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
|
"Programming Language :: Python :: 3.12",
|
|
|
|
|
"Programming Language :: Python :: 3.13",
|
2025-09-03 15:12:17 -05:00
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
2025-09-03 13:14:32 -05:00
|
|
|
]
|
2025-05-04 16:40:07 -05:00
|
|
|
|
2025-06-28 21:17:54 -05:00
|
|
|
[project.license]
|
|
|
|
|
text = "MIT"
|
2025-05-04 16:40:07 -05:00
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
|
dev = [
|
2025-06-06 18:11:30 -05:00
|
|
|
"pytest>=7.0",
|
|
|
|
|
"argcomplete~=3.0",
|
|
|
|
|
"black~=25.0",
|
|
|
|
|
"codespell~=2.0",
|
|
|
|
|
"flake8~=7.0",
|
2025-07-25 09:33:26 +00:00
|
|
|
"huggingface_hub~=0.34.0",
|
2025-07-11 16:47:56 -05:00
|
|
|
"hypothesis>=6.135.26",
|
2025-06-06 18:11:30 -05:00
|
|
|
"isort~=6.0",
|
|
|
|
|
"pytest~=8.3",
|
2025-06-10 17:49:51 -05:00
|
|
|
"wheel~=0.45.0",
|
|
|
|
|
"mypy",
|
2025-08-19 17:05:51 -04:00
|
|
|
"pyyaml",
|
2025-06-06 18:11:30 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
cov = [
|
|
|
|
|
"pytest-cov",
|
2025-08-19 17:05:51 -04:00
|
|
|
"pyyaml",
|
2025-06-06 18:11:30 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
cov-detailed = [
|
|
|
|
|
"pytest-cov",
|
|
|
|
|
"pytest-func-cov",
|
|
|
|
|
"pytest-report",
|
|
|
|
|
"pytest-json",
|
2025-08-19 17:05:51 -04:00
|
|
|
"pytest-html",
|
|
|
|
|
"pyyaml",
|
2025-05-04 16:40:07 -05:00
|
|
|
]
|
2024-09-30 12:48:11 -04:00
|
|
|
|
|
|
|
|
[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"
|
|
|
|
|
|
2025-05-04 16:40:07 -05:00
|
|
|
[project.scripts]
|
|
|
|
|
ramalama = "ramalama.cli:main"
|
|
|
|
|
|
|
|
|
|
[tool.setuptools]
|
|
|
|
|
include-package-data = true
|
2025-06-28 21:17:54 -05:00
|
|
|
license-files = ["LICENSE"]
|
2025-05-04 16:40:07 -05:00
|
|
|
|
2024-09-30 12:48:11 -04:00
|
|
|
[tool.black]
|
2025-02-15 14:47:04 +01:00
|
|
|
line-length = 120
|
2024-09-30 12:48:11 -04:00
|
|
|
skip-string-normalization = true
|
|
|
|
|
preview = true
|
2025-06-12 19:01:48 +08:00
|
|
|
target-version = ["py310", "py311", "py312", "py313"]
|
2025-07-03 11:49:44 +02:00
|
|
|
extend-exclude = "(.history|build|dist|docs|hack)"
|
2025-05-04 16:40:07 -05:00
|
|
|
|
2024-09-30 12:48:11 -04:00
|
|
|
[tool.isort]
|
|
|
|
|
profile = "black"
|
2025-02-15 14:47:04 +01:00
|
|
|
line_length = 120
|
2025-07-03 11:49:44 +02:00
|
|
|
skip = [".venv", "venv"]
|
2025-02-15 14:47:04 +01:00
|
|
|
|
2025-07-03 11:49:44 +02:00
|
|
|
[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
|
2025-02-15 14:47:04 +01:00
|
|
|
|
2025-07-03 17:37:11 -05:00
|
|
|
[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"
|
|
|
|
|
|
2024-09-30 12:48:11 -04:00
|
|
|
[tool.pytest.ini_options]
|
2025-02-24 09:12:17 +01:00
|
|
|
testpaths = ["."]
|
2024-09-30 12:48:11 -04:00
|
|
|
log_cli = true
|
2025-07-02 16:49:52 -05:00
|
|
|
log_cli_level = "WARN"
|
2024-09-30 12:48:11 -04:00
|
|
|
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
|
|
|
|
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
2025-05-04 16:40:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
2025-06-28 21:17:54 -05:00
|
|
|
include = ["ramalama", "ramalama.*"]
|
2025-05-04 16:40:07 -05:00
|
|
|
|
|
|
|
|
[tool.setuptools.data-files]
|
2025-07-17 01:20:28 -05:00
|
|
|
"share/ramalama" = ["shortnames/shortnames.conf", "docs/ramalama.conf"]
|
2025-05-04 16:40:07 -05:00
|
|
|
"share/man/man1" = ["docs/*.1"]
|
|
|
|
|
"share/man/man5" = ["docs/*.5"]
|
|
|
|
|
"share/man/man7" = ["docs/*.7"]
|
|
|
|
|
"share/bash-completion/completions" = ["completions/bash-completion/completions/*"]
|
2025-06-27 02:07:37 -05:00
|
|
|
"share/zsh/site-functions" = ["completions/zsh/site-functions/*"]
|
2025-05-04 16:40:07 -05:00
|
|
|
"share/fish/vendor_completions.d" = ["completions/fish/vendor_completions.d/*"]
|
|
|
|
|
|