Include static files in package distribution

- Add static dir to MANIFEST.in
- Update package data config
- Ensure static assets are bundled
- Fix missing static file issue

(cherry picked from commit 16d3d82a0e)
This commit is contained in:
yangdx 2025-10-30 10:50:28 +08:00 committed by Raphaël MANSUY
parent 2d85e9f2f8
commit cd0cd99062
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
include requirements.txt
include lightrag/api/requirements.txt
recursive-include lightrag/api/webui *
recursive-include lightrag/api/static *

View file

@ -136,7 +136,7 @@ include-package-data = true
version = {attr = "lightrag.__version__"}
[tool.setuptools.package-data]
lightrag = ["api/webui/**/*"]
lightrag = ["api/webui/**/*", "api/static/**/*"]
[tool.ruff]
target-version = "py310"