-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (56 loc) · 1.36 KB
/
pyproject.toml
File metadata and controls
66 lines (56 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["setuptools>=62", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "dataflow-agent" # pip install dataflow-agent
version = "0.1.0"
description = "LLM agent component for DataFlow."
authors = [{ name = "Zhou Liu", email = "liuzhoul82@gmail.com" }]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"openai>=1.0.0",
"langgraph==0.6.7",
"langgraph-checkpoint==2.1.1",
"langgraph-prebuilt==0.6.4",
"langgraph-sdk==0.2.6",
"langchain==0.3.27",
"langchain-community==0.3.29",
"langchain-core==0.3.76",
"langchain-openai==0.3.33",
"langchain-text-splitters==0.3.11",
"faiss-cpu==1.12.0",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"black",
"ruff",
]
# 针对论文 / NLP / 文本相关能力的可选依赖
paper = [
"datasets<=3.2",
"transformers",
"nltk",
"sentencepiece",
"fasttext-wheel",
]
# 针对数据处理 / 数值计算相关能力的可选依赖
data = [
"pandas",
"numpy<2.0.0",
"scipy",
]
[tool.setuptools.package-dir]
# 告诉 setuptools 源码包目录
"" = "."
[tool.setuptools.packages.find]
where = ["."]
include = ["dataflow_agent*"]
exclude = ["tests*"]
[project.scripts]
dfa = "dataflow_agent.cli:cli"
[tool.pytest.ini_options]
norecursedirs = ["tests/manual"]