From 1cc095a404dad3420023bb1fd0b8b856b86068cb Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Sat, 11 Feb 2023 17:57:18 -0500 Subject: [PATCH] adding libpng installation in github actions for macos --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 96e9652d8..e30cc2354 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,9 @@ before-build = "ccache -s" environment-pass = ["HOST_CCACHE_DIR"] [tool.cibuildwheel.macos] -before-all = "brew deps --tree --installed" +before-all = [ + "brew install libpng", + "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