-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #1114 Co-authored-by: Titus von Koeller <[email protected]>
- Loading branch information
1 parent
92af6b1
commit aeac8e9
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import argparse | ||
import subprocess | ||
|
||
|
||
def main(): | ||
ap = argparse.ArgumentParser() | ||
ap.add_argument("wheels", nargs="*") | ||
args = ap.parse_args() | ||
for whl in args.wheels: | ||
print(f"### `{whl}`") | ||
|
||
audit_wheel_output = subprocess.run( | ||
["auditwheel", "show", whl], | ||
capture_output=True, | ||
text=True, | ||
errors="backslashreplace", | ||
) | ||
|
||
if audit_wheel_output.stdout: | ||
print(audit_wheel_output.stdout) | ||
|
||
if audit_wheel_output.stderr: | ||
print(f"**Error:**\n```{audit_wheel_output.stderr}```") | ||
|
||
print("---") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters