[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"