mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 20:52:43 +00:00
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
|
* default theme: `img` have now `max-width: 100%` by default to avoid very
|
||||||
large images overflowing
|
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
|
## [2.0.0] - 2023-06-16
|
||||||
|
|
||||||
|
|||||||
@@ -47,16 +47,12 @@ version = {attr = "blag.__VERSION__" }
|
|||||||
[tool.setuptools]
|
[tool.setuptools]
|
||||||
packages = [
|
packages = [
|
||||||
"blag",
|
"blag",
|
||||||
|
"blag.templates",
|
||||||
|
"blag.static",
|
||||||
|
"blag.content",
|
||||||
"tests",
|
"tests",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.setuptools.package-data]
|
|
||||||
blag = [
|
|
||||||
"templates/*",
|
|
||||||
"static/*",
|
|
||||||
"content/*",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = """
|
addopts = """
|
||||||
--cov=blag
|
--cov=blag
|
||||||
|
|||||||
Reference in New Issue
Block a user