Call delocate with the correct archs

This commit is contained in:
Joe Rickerby
2020-12-31 16:50:44 +00:00
parent 2b800bbb3a
commit 76d5f3d3e0
3 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ def main() -> None:
if platform == 'linux':
repair_command_default = 'auditwheel repair -w {dest_dir} {wheel}'
elif platform == 'macos':
repair_command_default = 'delocate-listdeps {wheel} && delocate-wheel --require-archs x86_64 -w {dest_dir} {wheel}'
repair_command_default = 'delocate-listdeps {wheel} && delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}'
else:
repair_command_default = ''