Manage ragflow-sdk with poetry (#3115)

### What problem does this PR solve?

Manage ragflow-sdk with poetry
### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2024-10-30 21:13:59 +08:00
committed by GitHub
parent 48688afa5e
commit 9a5ff320f3
18 changed files with 208 additions and 88 deletions

View File

@ -1,24 +1,17 @@
[project]
name = "ragflow"
version = "0.8.0.dev1"
authors = [
{ name = "The RAGFlow Development Team", email = "author@example.com" },
] # TODO: email
dependencies = ["pytest~=8.2.0"]
description = "ragflow"
[tool.poetry]
name = "ragflow-sdk"
version = "0.0.2"
description = "Python client sdk of [RAGFlow](https://github.com/infiniflow/ragflow). RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding."
authors = ["Zhichang Yu <yuzhichang@gmail.com>"]
license = "Apache License, Version 2.0"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache License2",
"Operating System :: OS Independent",
]
package-mode = true
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.30.0"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project.urls]
"Homepage" = "https://github.com/pypa/sampleproject"
"Bug Tracker" = "https://github.com/pypa/sampleproject/issues"
# TODO
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"