@@ -7,9 +7,7 @@ name = "cppcheck"
77description = " Package cppcheck as a python wheel."
88readme = " README.md"
99license = { text = " Apache-2.0" }
10- authors = [
11- {
email =
" [email protected] " ,
name =
" msclock" },
12- ]
10+ authors = [{
email =
" [email protected] " ,
name =
" msclock" }]
1311requires-python = " >=3.7"
1412classifiers = [
1513 " Intended Audience :: Science/Research" ,
@@ -66,10 +64,10 @@ metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
6664sdist.include = [" src/cppcheck/_version.py" ]
6765cmake.args = [
6866 " -DBUILD_TESTING=OFF" ,
69- " -DCMAKE_BUILD_TYPE=ReWithDebInfo" , # Required RelWithDebInfo or Release
67+ " -DCMAKE_BUILD_TYPE=ReWithDebInfo" , # Required RelWithDebInfo or Release
7068 " -DCMAKE_TOOLCHAIN_FILE=cmake/vcpkg/vcpkg.toolchain.cmake" ,
7169 " -DVCPKG_OVERLAY_TRIPLETS=cmake/vcpkg/triplets" ,
72- " -DVCPKG_OVERLAY_PORTS=cmake/vcpkg/ports"
70+ " -DVCPKG_OVERLAY_PORTS=cmake/vcpkg/ports" ,
7371]
7472
7573[tool .setuptools_scm ]
@@ -82,13 +80,19 @@ test-extras = ["test"]
8280test-skip = [" *-win_arm64" , " *-macosx_universal2:arm64" ]
8381
8482[tool .cibuildwheel .linux ]
85- before-build =[
83+ before-build = [
8684 ' yum install zip -y || apk add zip || true' ,
8785 ' apt update && apt install zip pkg-config -y || true' ,
8886 ' pip install cmake ninja' ,
89- ' cmake --version' , ' git --version' , ' ninja --version' ,
87+ ' cmake --version' ,
88+ ' git --version' ,
89+ ' ninja --version' ,
9090]
9191
92+ [[tool .cibuildwheel .overrides ]]
93+ select = " *linux_{aarch64,armv7l,ppc64le,s390x}"
94+ environment = { VCPKG_FORCE_SYSTEM_BINARIES = " 1" }
95+
9296[tool .pytest .ini_options ]
9397minversion = " 6.0"
9498addopts = [" -ra" , " --showlocals" , " --strict-markers" , " --strict-config" ]
0 commit comments