pypa / auditwheel

Auditing and relabeling cross-distribution Linux wheels.
Other
442 stars 144 forks source link

Allow wildcards in `--exclude` #500

Open KyleFromNVIDIA opened 3 months ago

KyleFromNVIDIA commented 3 months ago

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

auditwheel repair --exclude 'libexternallib.so.*' my_wheel.whl
petermbauer commented 2 months ago

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

KyleFromNVIDIA commented 2 months ago

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.