mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-05 01:37:46 +08:00
fix: include missing modules in ragflow-cli PyPI package (#13457)
## Problem The `ragflow-cli` PyPI package (v0.24.0) is missing `http_client.py`, `ragflow_client.py`, and `user.py`, causing import errors when installed from PyPI. ## Root Cause `pyproject.toml` only lists `ragflow_cli` and `parser` in `[tool.setuptools] py-modules`. ## Fix Add the three missing modules to `py-modules`. Fixes #13456 Co-authored-by: atian8179 <atian8179@users.noreply.github.com>
This commit is contained in:
@ -21,7 +21,7 @@ test = [
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
py-modules = ["ragflow_cli", "parser"]
|
||||
py-modules = ["ragflow_cli", "parser", "http_client", "ragflow_client", "user"]
|
||||
|
||||
[project.scripts]
|
||||
ragflow-cli = "ragflow_cli:main"
|
||||
|
||||
Reference in New Issue
Block a user