diff --git a/CHANGELOG.md b/CHANGELOG.md index e4e849a..271acd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ * 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 + instead of using package-data for setuptools + ## [2.0.0] - 2023-06-16 diff --git a/pyproject.toml b/pyproject.toml index e6b5dda..141b900 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,16 +47,12 @@ version = {attr = "blag.__VERSION__" } [tool.setuptools] packages = [ "blag", + "blag.templates", + "blag.static", + "blag.content", "tests", ] -[tool.setuptools.package-data] -blag = [ - "templates/*", - "static/*", - "content/*", -] - [tool.pytest.ini_options] addopts = """ --cov=blag