Files
ahriman/pyproject.toml
T
arcanis 700893ecac build: subpackages implementation (#164)
* migrate to hatch

* reorder tests

* generic fixtures

* straight forward conftest

* fix docs generation

* fix tox environments

* reformat tomls

* cleanup pyproject

* some play with renaming

* move root conftest into pytest plugins

* fix setup script

* move fixtures to __init__.py

* remove duplicate fixtures

* disable pylint warning

* simplify configuration fixture

* remove empty conftest

* remove crap from local pyprojects
2026-07-17 14:00:20 +03:00

101 lines
1.8 KiB
TOML

[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"
[project]
name = "ahriman"
authors = [
{ name = "ahriman team" },
]
dependencies = [
"ahriman-core",
"ahriman-triggers",
"ahriman-web",
]
description = "ArcH linux ReposItory MANager"
dynamic = [
"version",
]
license = { file = "COPYING" }
readme = "README.md"
requires-python = ">=3.13"
[project.urls]
Changelog = "https://github.com/arcan1s/ahriman/releases"
Documentation = "https://ahriman.readthedocs.io/"
Repository = "https://github.com/arcan1s/ahriman"
[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 = [
"coverage",
"pytest",
"pytest-aiohttp",
"pytest-helpers-namespace",
"pytest-mock",
"pytest-resource-path",
"pytest-spec",
]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/archlinux",
"/docker",
"/docs",
"/recipes",
"/tools",
"tests",
"/.bandit.toml",
"/.dockerignore",
"/.pylint.toml",
"/.pytest.toml",
"/.readthedocs.yml",
"/conftest.py",
"/github-logo.png",
"/tox.toml",
"/toxfile.py",
"/web.png",
]
[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",
]