diff --git a/CHANGELOG.md b/CHANGELOG.md index cc3f916..271acd5 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: treat `templates`, `static` and `content` as namespace packages +* packaging: explicitly list `templates`, `static` and `content` as packages instead of using package-data for setuptools diff --git a/pyproject.toml b/pyproject.toml index 5f5e093..141b900 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,9 @@ version = {attr = "blag.__VERSION__" } [tool.setuptools] packages = [ "blag", + "blag.templates", + "blag.static", + "blag.content", "tests", ]