fix(wheels): Repair wheel macos

Script to repair RPATH issues in wheels on macos
This commit is contained in:
2025-12-02 10:04:00 -05:00
parent e0a05bbd1a
commit 8a22496398
3 changed files with 130 additions and 33 deletions

View File

@@ -78,7 +78,7 @@ def fix_rpaths(binary_path):
def main():
if len(sys.argv) != 2:
print(f"--- Error: Expected one argument (path to .so file), got {sys.argv}", file=sys.stderr)
print(f"--- Error: Expected one argument (path to .dylib/.so file), got {sys.argv}", file=sys.stderr)
sys.exit(1)
# Get the file path directly from the command line argument