-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.64 KB
/
pyproject.toml
File metadata and controls
72 lines (64 loc) · 1.64 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
[build-system]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"
[project]
name = "createrepo-agent"
dynamic = ["version"]
authors = [
{name = "Scott K Logan", email = "[email protected]"},
]
maintainers = [
{name = "ROS Infrastructure Team"},
]
description = "Rapidly and repeatedly generate RPM repository metadata"
readme = "README.md"
license = "Apache-2.0"
keywords = [
"assuan-ipc-protocol",
"repository-management",
"rpm",
]
classifiers = [
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Programming Language :: C",
"Programming Language :: Python :: 3",
"Topic :: System :: Archiving :: Packaging",
]
[project.optional-dependencies]
test = [
"pytest",
]
[project.urls]
GitHub = "https://github.com/osrf/createrepo-agent"
[tool.scikit-build]
install.components = ["bin", "python"]
sdist.exclude = [
".editorconfig",
".github",
".gitignore",
"CONTRIBUTING.md",
]
wheel.packages = []
[tool.scikit-build.cmake.define]
BUILD_TESTING = false
CREATEREPO_AGENT_INSTALL_MANPAGES = false
WITH_PYTHON = true
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "CMakeLists.txt"
regex = '''
set\(CRA_VERSION_MAJOR\s+(?P<major>\d+)\)
set\(CRA_VERSION_MINOR\s+(?P<minor>\d+)\)
set\(CRA_VERSION_PATCH\s+(?P<patch>\d+)\)
'''
result = "{major}.{minor}.{patch}"
[tool.cibuildwheel]
skip = "*-musllinux_*"
test-extras = ["test"]
test-command = [
"python -m pytest {project}/test",
]
[tool.cibuildwheel.linux]
before-all = "dnf install -y createrepo_c-devel glib2-devel gpgme-devel libassuan-devel libgpg-error-devel"