adding libpng installation in github actions for macos

This commit is contained in:
Thomas Ferreira de Lima 2023-02-11 17:57:18 -05:00
parent 81504ecd9b
commit 1cc095a404
1 changed files with 4 additions and 1 deletions

View File

@ -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}"