fix: include templates/ and static/ in installed package

Setuptools was omitting non-Python files; add package-data glob so
templates and static assets are present after pip install.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
caoimhinr 2026-05-25 20:28:54 +02:00
parent 508c85b5ed
commit 2322abe8dd

View file

@ -25,3 +25,6 @@ dev = ["pytest>=8.0", "pytest-asyncio>=0.24", "aiosqlite>=0.20"]
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
where = ["."] where = ["."]
include = ["corvid*"] include = ["corvid*"]
[tool.setuptools.package-data]
corvid = ["templates/**", "static/**"]