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
This commit is contained in:
yangdx
2025-10-30 10:50:28 +08:00
parent 8af8bd80d2
commit 16d3d82a0e
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

@@ -134,7 +134,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"