63 lines
1.6 KiB
TOML
63 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "sjaur"
|
|
version = "0.1.0"
|
|
description = "Fast, fuzzy TUI search for the Arch User Repository (AUR) using the official metadata dump."
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "jonas H", email = "dev@serverjonas.de" }]
|
|
requires-python = ">=3.10"
|
|
keywords = ["aur", "archlinux", "search", "tui", "fuzzy"]
|
|
classifiers = [
|
|
"Environment :: Console",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Software Development",
|
|
"Topic :: Utilities",
|
|
]
|
|
dependencies = [
|
|
"rapidfuzz>=3.6",
|
|
"numpy>=1.24",
|
|
"textual>=0.80",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"mypy>=1.10",
|
|
]
|
|
|
|
[project.scripts]
|
|
sjaur = "sjaur.cli:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://aur.archlinux.org"
|
|
AUR = "https://aur.archlinux.org"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/sjaur"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|
|
|
|
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
check_untyped_defs = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
# numpy is never imported by sjaur (it is only a transitive dependency of
|
|
# rapidfuzz); its stubs require a >= 3.12 parser.
|
|
module = "numpy.*"
|
|
follow_imports = "skip"
|