Skip to content

Commit 54b1515

Browse files
clanker-loverclaude
andcommitted
Add package-data config to include HTML templates in build
Without this, pip-installed codedocent crashes on first use because the Jinja2 templates are excluded from the wheel. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ed44dae commit 54b1515

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ dependencies = [
2020
[project.optional-dependencies]
2121
dev = ["pytest>=7.0"]
2222

23+
[tool.setuptools.package-data]
24+
codedocent = ["templates/*.html"]
25+
2326
[project.scripts]
2427
codedocent = "codedocent.cli:main"

0 commit comments

Comments
 (0)