mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-18 16:41:08 +00:00
a4a7c13344
In case if parser is used to generate docs, it remains w\o colors, but help messages are still formatted with it
65 lines
1.2 KiB
TOML
65 lines
1.2 KiB
TOML
[build-system]
|
|
requires = [
|
|
"hatchling",
|
|
]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "ahriman-core"
|
|
dependencies = [
|
|
"bcrypt",
|
|
"filelock",
|
|
"inflection",
|
|
"pyelftools",
|
|
"requests",
|
|
]
|
|
description = "ArcH linux ReposItory MANager, core package"
|
|
dynamic = [
|
|
"version",
|
|
]
|
|
requires-python = ">=3.14"
|
|
|
|
[project.optional-dependencies]
|
|
journald = [
|
|
"systemd-python",
|
|
]
|
|
# FIXME technically this dependency is required, but in some cases we do not have access to
|
|
# the libalpm which is required in order to install the package. Thus in case if we do not
|
|
# really need to run the application we can move it to "optional" dependencies
|
|
pacman = [
|
|
"pyalpm",
|
|
]
|
|
reports = [
|
|
"Jinja2",
|
|
]
|
|
s3 = [
|
|
"boto3",
|
|
]
|
|
shell = [
|
|
"IPython",
|
|
]
|
|
stats = [
|
|
"matplotlib",
|
|
]
|
|
unixsocket = [
|
|
"requests-unixsocket2", # required by unix socket support
|
|
]
|
|
validator = [
|
|
"cerberus",
|
|
]
|
|
|
|
[project.scripts]
|
|
ahriman = "ahriman.application.ahriman:run"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = [
|
|
"src/ahriman",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel.shared-data]
|
|
"package/lib" = "lib"
|
|
"package/share" = "share"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/ahriman/__init__.py"
|