-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (50 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (50 loc) · 1.83 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
[build-system]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"
[project]
name = "clang-include-cleaner"
dynamic = ["version"]
authors = [{name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com"}]
license = { text = "Apache 2.0" }
description = "Clang-include-cleaner is an LLVM-based tool for finding and removing unused #include directives in C++ code"
readme = "README.md"
classifiers = [
"Programming Language :: C",
"Programming Language :: C++",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Topic :: Software Development :: Quality Assurance",
]
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
regex = '^(?P<value>\d+\.\d+\.\d+(\.[1-9]\d*)?)'
input = "clang-include-cleaner_version.txt"
[dependency-groups]
test = ["pytest"]
[project.urls]
Clang = "http://clang.llvm.org/"
Documentation = "https://clang.llvm.org/extra/clang-include-cleaner.html"
Download = "https://github.com/llvm/llvm-project/releases"
Source = "https://github.com/cpp-linter/clang-include-cleaner"
[project.scripts]
"clang-include-cleaner" = "clang_include_cleaner:clang_include_cleaner"
[tool.scikit-build]
wheel.packages = ["clang_include_cleaner"]
wheel.py-api = "py2.py3"
cmake.version = ">=3.16.0"
ninja.version = ">=1.10.0"
cmake.verbose = true
logging.level = "DEBUG"
[tool.cibuildwheel]
# Super-verbose output for debugging purpose
build-verbosity = 3
# Set CMAKE_GENERATOR env var which is respected by scikit-build-core to use Ninja on all platforms
environment = "CMAKE_GENERATOR=Ninja"
# Testing commands for our wheels
before-test = [
"git config --global user.name Name",
"git config --global user.email foo@bar.com"
]
test-requires = ["pytest", "pytest-git"]
test-command = "pytest {package}/test"