-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (84 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
94 lines (84 loc) · 2.21 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "zion-local-tools"
version = "0.1.0"
description = "Zion本地工具服务,提供搜索、文件操作、Bash执行、会话管理与邮件功能"
readme = "README.md"
authors = [
{name = "Zion Team"}
]
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dependencies = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.0.0",
"cachetools>=5.0.0",
"requests>=2.31.0",
"beautifulsoup4>=4.12.0",
"ddgs>=9.9.0; python_version >= '3.8'",
"duckduckgo-search>=6.0.0; python_version >= '3.8'",
"paramiko>=3.4.0",
"gssapi>=1.8.3",
"pyasn1>=0.6.1",
"redis>=5.0.0",
"hiredis>=2.2.0",
"aioredis>=2.0.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.6.0",
"ruff>=0.1.0",
]
[project.urls]
Homepage = "https://github.com/your-org/zion-local-tools"
Repository = "https://github.com/your-org/zion-local-tools.git"
Issues = "https://github.com/your-org/zion-local-tools/issues"
[tool.setuptools]
packages = [
"zion_local_tools",
"zion_local_tools.core",
"zion_local_tools.search",
"zion_local_tools.files",
"zion_local_tools.bash",
"zion_local_tools.config",
"zion_local_tools.sessions",
"zion_local_tools.mail"
]
[tool.setuptools.package-dir]
zion_local_tools = "src/zion_local_tools"
[tool.black]
line-length = 88
target-version = ['py38']
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.ruff]
target-version = "py38"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "B"]
ignore = ["E501"]
extend-ignore = ["B008"]