From 83ffe53433365177a05d0547159e97eca8e24b7c Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Sat, 11 Feb 2023 00:36:31 -0500 Subject: [PATCH] repairing macos wheel --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d805eaffb..96e9652d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,6 @@ before-build = "ccache -s" environment-pass = ["HOST_CCACHE_DIR"] [tool.cibuildwheel.macos] -# Don't repair macOS wheels -repair-wheel-command = "" -before-all = "brew deps --tree --installed" \ No newline at end of file +before-all = "brew deps --tree --installed" +# Repair macOS wheels (include libpng with the wheel, for example) +repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v --ignore-missing-dependencies {wheel}" \ No newline at end of file