mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-03-11 18:27:57 +08:00
## 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>
28 lines
765 B
TOML
28 lines
765 B
TOML
[project]
|
|
name = "ragflow-cli"
|
|
version = "0.24.0"
|
|
description = "Admin Service's client of [RAGFlow](https://github.com/infiniflow/ragflow). The Admin Service provides user management and system monitoring. "
|
|
authors = [{ name = "Lynn", email = "lynn_inf@hotmail.com" }]
|
|
license = { text = "Apache License, Version 2.0" }
|
|
readme = "README.md"
|
|
requires-python = ">=3.12,<3.15"
|
|
dependencies = [
|
|
"requests>=2.30.0,<3.0.0",
|
|
"beartype>=0.20.0,<1.0.0",
|
|
"pycryptodomex>=3.10.0",
|
|
"lark>=1.1.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
test = [
|
|
"pytest>=8.3.5",
|
|
"requests>=2.32.3",
|
|
"requests-toolbelt>=1.0.0",
|
|
]
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["ragflow_cli", "parser", "http_client", "ragflow_client", "user"]
|
|
|
|
[project.scripts]
|
|
ragflow-cli = "ragflow_cli:main"
|