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:
parent
2d85e9f2f8
commit
cd0cd99062
2 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
include requirements.txt
|
||||
include lightrag/api/requirements.txt
|
||||
recursive-include lightrag/api/webui *
|
||||
recursive-include lightrag/api/static *
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue