From 32fff6dabbd0ebf19abf008f22a1645357aca2c6 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Thu, 13 Jul 2023 09:52:30 +0200 Subject: [PATCH] treat templates, static, and content as namespace packages --- CHANGELOG.md | 2 +- pyproject.toml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 271acd5..cc3f916 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * default theme: `img` have now `max-width: 100%` by default to avoid very large images overflowing -* packaging: explicitly list `templates`, `static` and `content` as packages +* packaging: treat `templates`, `static` and `content` as namespace packages instead of using package-data for setuptools diff --git a/pyproject.toml b/pyproject.toml index 141b900..5f5e093 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,9 +47,6 @@ version = {attr = "blag.__VERSION__" } [tool.setuptools] packages = [ "blag", - "blag.templates", - "blag.static", - "blag.content", "tests", ]