-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (82 loc) · 2.27 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (82 loc) · 2.27 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
[build-system]
requires = ["setuptools>=77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "pg-configurator"
dynamic = ["version"]
description = "Explainable, hardware-aware PostgreSQL configuration generator"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE", "NOTICE"]
authors = [
{ name = "O2eg", email = "oleg.ispu@yandex.ru" },
]
keywords = ["postgresql", "configuration", "tuning", "dba"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: System :: Systems Administration",
]
dependencies = [
"psutil>=5.9,<8",
]
[project.optional-dependencies]
test = [
"asyncpg>=0.29,<1",
"pytest>=8.3,<9",
"tomli>=2.0; python_version < '3.11'",
]
dev = [
"asyncpg>=0.29,<1",
"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-configurator = "pg_configurator.__main__:_cli_entrypoint"
[project.urls]
Homepage = "https://github.com/O2eg/pg_configurator"
Repository = "https://github.com/O2eg/pg_configurator"
Issues = "https://github.com/O2eg/pg_configurator/issues"
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.dynamic]
version = { attr = "pg_configurator.version.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
include = ["pg_configurator*"]
namespaces = false
[tool.setuptools.package-data]
pg_configurator = [
"pg_settings_history/*.csv",
"pg_settings_history/README.md",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
markers = [
"integration: requires Docker and PostgreSQL client tools",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
"tests/integration/test_docker.py" = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["pg_configurator"]