From 75ce9d03458ab0ff171af881228c089cb60ebf09 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Mon, 15 Apr 2024 15:08:12 +0200 Subject: [PATCH] Switch build system from Hatchling to PDM --- pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 551d4f0..ff1db75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,8 @@ Homepage = "https://github.com/pelican-plugins/minify" [project.optional-dependencies] markdown = ["markdown>=3.4"] +[tool.pdm] + [tool.pdm.dev-dependencies] lint = [ "black>=23.7.0", @@ -63,6 +65,15 @@ test = [ "pytest-sugar>=0.9.7", ] +[tool.pdm.build] +source-includes = [ + "CHANGELOG.md", + "CONTRIBUTING.md", + "DEVELOPMENT.md", +] +includes = ["pelican/"] +excludes = ["tasks.py"] + [tool.autopub] project-name = "Minify" git-username = "botpub"