auditwheel icon indicating copy to clipboard operation
auditwheel copied to clipboard

Allow wildcards in `--exclude`

Open KyleFromNVIDIA opened this issue 1 year ago • 2 comments

It would be nice if the --exclude argument supported wildcards, like so:

auditwheel repair --exclude 'libexternallib.so.*' my_wheel.whl

KyleFromNVIDIA avatar Jul 22 '24 16:07 KyleFromNVIDIA

I would like to prevent any libraries from being added, hope this can be achieved then with --exclude "*".

petermbauer avatar Aug 09 '24 09:08 petermbauer

I would like to prevent any libraries from being added, hope this can be achieved then with --exclude "*".

I just added a test to #508 to confirm that it supports this.

KyleFromNVIDIA avatar Aug 09 '24 13:08 KyleFromNVIDIA