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:
atian8179
2026-03-10 10:02:21 +08:00
committed by GitHub
parent 4fe706876c
commit 88a40b95a2

View File

@ -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"