-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (83 loc) · 2.17 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (83 loc) · 2.17 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>=77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "pg-perf-bench"
version = "0.2.2"
description = "Reproducible PostgreSQL TPS benchmarks with environment evidence and report comparison"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = [
"LICENSE",
"THIRD_PARTY_NOTICES.md",
"src/pg_perf_bench/templates/vendor/*LICENSE*",
"src/pg_perf_bench/templates/vendor/*NOTICE*",
"src/pg_perf_bench/templates/vendor/THIRD_PARTY_LICENSES.txt",
]
authors = [
{ name = "O2eg", email = "oleg.ispu@gmail.com" },
]
keywords = ["postgresql", "benchmark", "pgbench", "performance", "diagnostics"]
dependencies = [
"PyYAML>=6.0,<7",
"asyncpg>=0.29,<1",
"asyncssh>=2.21,<3",
"docker>=7.1,<8",
"pg-diag>=0.10.5,<1",
"aenum>=3.1,<4; python_version < '3.11'",
]
[project.optional-dependencies]
test = [
"pytest>=8.3,<9",
"tomli>=2.0; python_version < '3.11'",
]
dev = [
"build>=1.2,<2",
"pytest>=8.3,<9",
"pytest-cov>=6,<8",
"ruff>=0.12,<1",
"tomli>=2.0; python_version < '3.11'",
"twine>=6,<7",
]
[project.scripts]
pg-perf-bench = "pg_perf_bench.cli:main"
[project.urls]
Homepage = "https://o2eg.com/"
Repository = "https://github.com/O2eg/pg_perf_bench"
Issues = "https://github.com/O2eg/pg_perf_bench/issues"
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
include = ["pg_perf_bench*"]
namespaces = false
[tool.setuptools.package-data]
pg_perf_bench = [
"commands/**/*.sh",
"commands/**/*.sql",
"join_tasks/**/*.json",
"join_tasks/**/*.md",
"workload_profiles/**/*.json",
"workload_profiles/**/*.md",
"workload_profiles/**/*.py",
"workload_profiles/**/*.sql",
"templates/*.json",
"templates/*.html",
"templates/vendor/*",
]
[tool.pytest.ini_options]
addopts = "-ra -m 'not integration'"
testpaths = ["tests"]
python_files = ["test_*.py", "commands.py", "processing.py"]
markers = [
"integration: requires an explicitly provisioned external PostgreSQL stand",
]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.format]
quote-style = "single"