mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-14 23:01:09 +00:00
97 lines
1.7 KiB
TOML
97 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "ahriman"
|
|
|
|
description = "ArcH linux ReposItory MANager"
|
|
readme = "README.md"
|
|
|
|
requires-python = ">=3.13"
|
|
|
|
license = {file = "COPYING"}
|
|
authors = [
|
|
{name = "ahriman team"},
|
|
]
|
|
|
|
dependencies = [
|
|
"ahriman-core",
|
|
"ahriman-triggers",
|
|
"ahriman-web",
|
|
]
|
|
|
|
dynamic = ["version"]
|
|
|
|
[project.urls]
|
|
Documentation = "https://ahriman.readthedocs.io/"
|
|
Repository = "https://github.com/arcan1s/ahriman"
|
|
Changelog = "https://github.com/arcan1s/ahriman/releases"
|
|
|
|
[dependency-groups]
|
|
check = [
|
|
"autopep8",
|
|
"bandit",
|
|
"mypy",
|
|
"pylint",
|
|
]
|
|
docs = [
|
|
"ahriman-core[s3,validator]",
|
|
"Sphinx",
|
|
"argparse-manpage",
|
|
"pydeps",
|
|
"shtab",
|
|
"sphinx-argparse",
|
|
"sphinx-rtd-theme>=1.1.1", # https://stackoverflow.com/a/74355734
|
|
]
|
|
tests = [
|
|
"pytest",
|
|
"pytest-aiohttp",
|
|
"pytest-cov",
|
|
"pytest-helpers-namespace",
|
|
"pytest-mock",
|
|
"pytest-resource-path",
|
|
"pytest-spec",
|
|
]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
exclude = [
|
|
"/.github",
|
|
"/docker",
|
|
"/package/archlinux",
|
|
"/recipes",
|
|
"/tools",
|
|
"/.bandit.yml",
|
|
"/.dockerignore",
|
|
"/.pylint.toml",
|
|
"/.readthedocs.yml",
|
|
"/github-logo.png",
|
|
"/tox.toml",
|
|
"/toxfile.py",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
bypass-selection = true
|
|
|
|
[tool.hatch.envs.default]
|
|
workspace.members = [
|
|
{path = "ahriman-core"},
|
|
{path = "ahriman-triggers"},
|
|
{path = "ahriman-web"},
|
|
]
|
|
|
|
[tool.hatch.version]
|
|
path = "ahriman-core/src/ahriman/__init__.py"
|
|
|
|
[tool.uv.sources]
|
|
ahriman-core = {workspace = true}
|
|
ahriman-triggers = {workspace = true}
|
|
ahriman-web = {workspace = true}
|
|
|
|
[tool.uv.workspace]
|
|
members = [
|
|
"ahriman-core",
|
|
"ahriman-triggers",
|
|
"ahriman-web",
|
|
]
|