-
Notifications
You must be signed in to change notification settings - Fork 116
/
pyproject.toml.in
59 lines (49 loc) · 1.49 KB
/
pyproject.toml.in
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
[project]
name = "pcs"
version = "@VERSION@"
requires-python = ">=3.12"
description = "Pacemaker/Corosync Configuration System"
authors = [
{name = "Chris Feist", email = "[email protected]"},
]
readme = "README.md"
[project.urls]
Repository = "https://github.com/ClusterLabs/pcs"
[build-system]
requires = ["setuptools >= 66.1"]
build-backend = "setuptools.build_meta"
[project.scripts]
pcs = "pcs.entry_points.cli:main"
pcsd = "pcs.entry_points.daemon:main"
pcs_snmp_agent = "pcs.entry_points.snmp_agent:main"
pcs_internal = "pcs.entry_points.internal:main"
[tool.setuptools]
# True by default in pyproject.toml, keeping old behavior
include-package-data = false
# If newly excluded packages still persist, try to remove `./*.egg-info` and
# `./build`. Don't waste time: https://stackoverflow.com/a/59686298/22796102
[tool.setuptools.packages.find]
exclude = [
"pcs_*",
"@PACKAGE_WEBUI_BACKEND@",
]
[tool.setuptools.package-data]
pcs = ["py.typed"]
################################################################################
# NON-BUILD TOOLS
################################################################################
[tool.black]
line-length = 80
target-version = ['py312']
[tool.isort]
profile = "black"
line_length = 80
multi_line_output = 3
force_grid_wrap = 2
atomic = true
py_version = 312
skip_gitignore = true
sections = ['FUTURE', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'TESTS', 'LOCALFOLDER']
known_first_party = ["pcs"]
known_tests = ["pcs_test"]
supported_extensions = ["py", "py.in"]