Include static files in package build
All checks were successful
Deploy / deploy (push) Successful in 1m38s

Add package-data configuration so static files (JavaScript, CSS) are
included when the package is built and deployed. Fixes 404 errors for
datetime-picker.js in production.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-11 08:00:04 +00:00
parent 880ef2b397
commit e7efcdfd28

View File

@@ -38,6 +38,9 @@ animaltrack = "animaltrack.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
animaltrack = ["static/**/*"]
[tool.ruff]
line-length = 100
target-version = "py311"