Skip to content

Commit

Permalink
Remove 'any' platform tag in non-pure non-extension wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
ehashman committed Oct 20, 2018
1 parent e9d909c commit 27c32d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auditwheel/wheeltools.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def add_platforms(wheel_ctx, platforms, remove_platforms=()):
# Can't be 'any' and another platform
if 'any' in fname_tags and len(fname_tags) > 1:
fname_tags.remove('any')
remove_platforms.append('any')
definitely_not_purelib = True

if fname_tags != original_fname_tags:
Expand Down

0 comments on commit 27c32d7

Please sign in to comment.