Skip to content

Commit

Permalink
Output information about libraries copied during repair
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezz committed Jan 22, 2024
1 parent c24b6f1 commit e07fd08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .builders/scripts/repair_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,17 @@ def copy_filt_func(libname):
shutil.move(wheel, output_dir)
continue

delocate_wheel(
copied_libs = delocate_wheel(
str(wheel),
os.path.join(output_dir, os.path.basename(wheel)),
copy_filt_func=copy_filt_func,
)
print('Repaired wheel')
if copied_libs:
print('Libraries copied into the wheel:')
print('\n'.join(copied_libs))
else:
print('No libraries were copied into the wheel.')


REPAIR_FUNCTIONS = {
Expand Down

0 comments on commit e07fd08

Please sign in to comment.