forked from github.com/blag
list default template as package explicitily
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user