Skip to content

Commit

Permalink
pipx doesn't work on windows
Browse files Browse the repository at this point in the history
maybe it's old
  • Loading branch information
minrk committed Dec 12, 2024
1 parent 1f1adc8 commit 55be942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ if(NOT "${SKBUILD_SABI_COMPONENT}" STREQUAL "")
# this isn't required, but we can't seem to get `wheel.py-api`
# see https://github.com/scikit-build/scikit-build-core/issues/958
set(SABI_ARG "USE_SABI;${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}")
message("Building with stable API ${SABI_ARG} for ${Python_SOABI}")
message(STATUS "Building with stable API ${SABI_ARG} for ${Python_SOABI}")
endif()

python_add_library(
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ select = "cp311-*"
inherit.config-settings = "append"
config-settings."wheel.py-api" = "cp311"
inherit.repair-wheel-command = "append"
repair-wheel-command = "pipx run abi3audit --strict --report {wheel}"
before-build = "pip install abi3audit"
repair-wheel-command = "abi3audit --strict --report {wheel}"

# for benchmarking, build limited cp312 as well
[[tool.cibuildwheel.overrides]]
Expand Down

0 comments on commit 55be942

Please sign in to comment.