Files
pagerite/pyproject.toml
T
LeoVasanko 178d22c05c Seed: eyes design on showcase, whale/wave art, richer long read
- The showcase category picks the eyes banner design (inherited by its
  pages; night-sky overrides with stars); the seeder now leaves
  content=None for entries with empty markdown so it stays a category
  label.
- Public-domain demo images in pagerite/seed-assets/ (Hokusai's Great
  Wave, Shute's 1892 Moby-Dick engravings), shipped via build artifacts.
- Welcome figure uses {width=420}; Gallery gets the Great Wave as its
  {.wide} piece; Loomings gains h2/h3 sections and the engravings.
2026-08-19 02:00:54 +00:00

55 lines
1.2 KiB
TOML

[build-system]
requires = [
"hatchling>=1.25.0",
"hatch-vcs>=0.4.0",
]
build-backend = "hatchling.build"
[project]
name = "pagerite"
dynamic = ["version"]
description = "A modern website and Content Management System."
authors = [
{ name = "Leo Vasanko" },
]
keywords = ["cms", "blog", "fastapi", "markdown"]
readme = "README.md"
requires-python = ">=3.14"
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",
]
[project.scripts]
pagerite = "pagerite.__main__:main"
[project.urls]
Repository = "https://git.zi.fi/LeoVasanko/pagerite"
[dependency-groups]
dev = [
"httpx>=0.28.1",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["pagerite"]
[tool.hatch.build]
# `only-packages` drops directories without an __init__.py, so the theme
# files and seed image assets must be force-included as artifacts (like
# the frontend build).
artifacts = ["pagerite/frontend-build", "pagerite/themes", "pagerite/seed-assets"]
only-packages = true
[tool.hatch.build.targets.sdist.hooks.custom]
path = "scripts/fastapi-vue/buildhook.py"