-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 2.18 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (86 loc) · 2.18 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
95
96
[build-system]
requires = ["setuptools>=77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "ch-diag"
version = "0.8.2"
description = "ClickHouse diagnostics with host metrics and portable JSON/HTML reports"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT AND BSD-3-Clause AND Apache-2.0"
license-files = [
"LICENSE",
"ch_diag/render/vendor/*LICENSE*",
"ch_diag/render/vendor/*NOTICE*",
"ch_diag/render/vendor/THIRD_PARTY_LICENSES.txt",
]
authors = [
{ name = "O2eg", email = "oleg.ispu@yandex.ru" },
]
keywords = ["clickhouse", "diagnostics", "dba"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Topic :: Database",
"Topic :: System :: Systems Administration",
]
dependencies = [
"PyYAML>=6.0",
"clickhouse-driver>=0.2.7",
"asyncssh>=2.21,<3",
]
[project.optional-dependencies]
test = [
"jsonschema>=4.20",
"pytest>=7.4",
"tomli>=2.0; python_version < '3.11'",
]
dev = [
"build>=1.2",
"jsonschema>=4.20",
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.5,<0.6",
"tomli>=2.0; python_version < '3.11'",
]
browser = ["playwright>=1.45"]
[project.scripts]
ch-diag = "ch_diag.cli:main"
[project.urls]
Homepage = "https://github.com/O2eg/ch_diag"
Repository = "https://github.com/O2eg/ch_diag"
Issues = "https://github.com/O2eg/ch_diag/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
markers = [
"integration: requires a live ClickHouse endpoint",
"browser: requires Playwright and its Chromium browser",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["ch_diag*"]
namespaces = false
[tool.setuptools.package-data]
ch_diag = [
"content/**/*",
"schemas/*.json",
"render/templates/*.html",
"render/vendor/*.css",
"render/vendor/*.js",
"render/vendor/*.txt",
]
[tool.setuptools.exclude-package-data]
ch_diag = [
"content/**/__pycache__/*",
"content/**/*.pyc",
]
[tool.ruff]
line-length = 100
target-version = "py310"