From 88a40b95a2ed3d2ae342f382d1a89c6987206b13 Mon Sep 17 00:00:00 2001 From: atian8179 Date: Tue, 10 Mar 2026 10:02:21 +0800 Subject: [PATCH] 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 --- admin/client/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/client/pyproject.toml b/admin/client/pyproject.toml index 4b5e2cd31b..1b79c85c31 100644 --- a/admin/client/pyproject.toml +++ b/admin/client/pyproject.toml @@ -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"