From c7aea5bc913895a22955ff34f729e0d9ffc96099 Mon Sep 17 00:00:00 2001 From: Hellseher Date: Sat, 24 Jan 2026 22:42:33 +0000 Subject: [PATCH 1/2] Include package defaults pyproject.toml Include `alot/defaults/` directory containing no `*.py` files ignored by setuptools. Reported in https://codeberg.org/guix/guix/issues/5797 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 4a0acac62..554d3cc9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,7 @@ Issues = "https://github.com/pazz/alot/issues" [tool.setuptools.packages.find] include = ["alot*"] +include-package-data = true [tool.setuptools_scm] From 12e7e0bcf9cb5a2ecb30749dd1a105d8216cec0d Mon Sep 17 00:00:00 2001 From: Hellseher Date: Sat, 24 Jan 2026 23:07:27 +0000 Subject: [PATCH 2/2] Fix up https://setuptools.pypa.io/en/latest/userguide/datafiles.html --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 554d3cc9b..a1453e36a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,9 +51,9 @@ Issues = "https://github.com/pazz/alot/issues" [tool.setuptools.packages.find] include = ["alot*"] -include-package-data = true -[tool.setuptools_scm] +[setuptools.package-data] +alot = ["defaults/*"] [tool.mypy] python_version = "3.9"