list default template as package explicitily

This commit is contained in:
Bastian Venthur
2023-06-24 13:27:11 +02:00
parent f646c89152
commit 86826c0c03
2 changed files with 6 additions and 7 deletions

View File

@@ -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

View File

@@ -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