Files
pagerite/pyproject.toml
T
LeoVasanko a7e5c40e12 Use git tag versioning via hatch-vcs
- Remove static version from [project]; add dynamic = [version]
- Add [tool.hatch.version] source = vcs
- Add hatch-vcs to build-system requirements
2026-08-16 20:22:00 +00:00

41 lines
861 B
TOML

[project]
name = "pagerite"
description = "A single-user CMS/blog: FastAPI + kanta, Vue only for editing tools"
readme = "README.md"
requires-python = ">=3.14"
dynamic = ["version"]
dependencies = [
"blake3>=1.0.9",
"fastapi-vue>=1.3.1",
"fastapi[standard]>=0.141.1",
"html5tagger>=2.0.0",
"kanta>=0.8.1",
"markdown-it-py>=4.2.0",
"mdit-py-plugins>=0.6.1",
"pygments>=2.20.0",
"tracerite>=2.6.4",
]
[project.scripts]
pagerite = "pagerite.__main__:main"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build]
packages = ["pagerite"]
artifacts = ["pagerite/frontend-build"]
only-packages = true
[tool.hatch.build.targets.sdist.hooks.custom]
path = "scripts/fastapi-vue/buildhook.py"
[dependency-groups]
dev = [
"httpx>=0.28.1",
]