-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (85 loc) · 2.06 KB
/
pyproject.toml
File metadata and controls
92 lines (85 loc) · 2.06 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "obdiag"
version = "5.0.0"
description = "OceanBase Diagnostic Tool - cluster diagnosis, log gathering and analysis"
readme = "LICENSE"
license = { text = "Mulan PSL v2" }
requires-python = ">=3.11"
authors = [
{ name = "OceanBase" }
]
keywords = ["oceanbase", "diagnostic", "obdiag"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
# Core
"certifi>=2024.7.4",
"cffi>=2.0.0",
"charset-normalizer>=2.0.12",
"cryptography>=46.0.3",
"idna>=3.7",
"Jinja2>=3.1.6",
"MarkupSafe>=2.0.1",
"paramiko>=3.4.1",
"pyasn1>=0.4.8",
"pycparser>=2.21",
"PyNaCl>=1.6.2",
"requests>=2.32.4",
"rsa>=4.8",
"six>=1.16.0",
# Data processing
"tabulate>=0.8.9",
"PyYAML>=6.0.2",
"prettytable>=3.5.0",
"oyaml>=1.0",
"xmltodict>=0.13.0",
"sqlparse>=0.5.0",
"ruamel.yaml>=0.17.4",
# Database & Cloud
"docker>=6.1.3",
"PyMySQL>=1.1.1",
"kubernetes>=30.1.0",
# CLI & UI
"pwinput>=1.0.3",
"colorama>=0.4.6",
"progressbar>=2.5",
"halo>=0.0.31",
# Tools
"inspect2>=0.1.2",
"sqlgpt-parser>=0.0.1a5",
"pyminizip>=0.2.6",
"plotly>=5.24.1",
# obdiag agent
"openai>=1.0.0",
"rich>=13.0.0",
"prompt_toolkit>=3.0.0",
"pydantic-ai-slim[openai,mcp]>=0.1.0",
"pydantic-ai-skills>=0.5.0",
]
[project.optional-dependencies]
# Build binary (PyInstaller)
build = [
"pyinstaller>=4.3",
]
# macOS: use pyzipper instead of pyminizip (pyminizip has compilation issues on macOS)
macos = [
"pyzipper>=0.3.6",
]
[tool.setuptools.package-dir]
"src" = "src"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.setuptools.package-data]
"src" = ["conf/*.yml", "conf/*.yaml"]
[project.scripts]
obdiag = "src.main:main"