Skip to content

Commit

Permalink
Set pip platform tags for macOS universal binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Dec 3, 2021
1 parent 1d8b6eb commit dce0f7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helics_apps-pip/packaging_scripts/repair-macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ pip install delocate wheel

# Bundle external shared libraries into the wheels
for whl in wheelhouse/*.whl; do
delocate-wheel -v "$whl" -w upload-wheelhouse
newwhl="${whl%%macos*.whl}macosx_10_14_universal2.macosx_10_14_x86_64.macosx_11_0_arm64.whl"
mv "$whl" "$newwhl"
delocate-wheel -v "$newwhl" -w upload-wheelhouse
done

0 comments on commit dce0f7b

Please sign in to comment.