Skip to content

Commit 3cd00e9

Browse files
authored
chore: Configure package data in pyproject.toml
Add package data configuration for templates and static files.
1 parent 06236c4 commit 3cd00e9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ zip-safe = false
6464
where = ["."]
6565
include = ["filer*", "LICENSE"]
6666

67+
[tool.setuptools.package-data]
68+
"*" = [
69+
"templates/**/*.html",
70+
"static/**/*",
71+
"locale/**/*",
72+
"*.po",
73+
"*.mo",
74+
]
75+
6776
[tool.setuptools.dynamic]
6877
version = {attr = "filer.__version__"}
6978

@@ -117,4 +126,4 @@ known_django = ["django"]
117126

118127
[tool.ruff]
119128
src = ["filer"]
120-
exclude = ["*/migrations/*"]
129+
exclude = ["*/migrations/*"]

0 commit comments

Comments
 (0)