Skip to content

Commit

Permalink
Use override to define macos environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed May 12, 2024
1 parent 31a04f0 commit 432ec49
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Expand Up @@ -170,7 +170,12 @@ before-all = [
"bash build-scripts/posix-download-qpdf.bash $QPDF_VERSION",
"bash build-scripts/posix-build-wheel-deps.bash",
] # Use 'brew whatever || true' workaround until https://github.com/actions/setup-python/issues/577 is fixed
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0", SYSTEM_VERSION_COMPAT = 0 }

[[tool.cibuildwheel.overrides]]
select = "*-macosx*x86_64"
inherit.environment = "append"
environment.MACOSX_DEPLOYMENT_TARGET = "11.0"
environment.SYSTEM_VERSION_COMPAT = 0

[tool.cibuildwheel.windows]

Expand Down

0 comments on commit 432ec49

Please sign in to comment.