Skip to content

Commit

Permalink
Merge pull request #98 from ofek/patch-1
Browse files Browse the repository at this point in the history
Support more platforms and Python implementations
  • Loading branch information
njsmith authored Jul 4, 2018
2 parents 25c24d0 + e82ad40 commit fb6f76d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auditwheel/policy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
'openbsd5': 'openbsd'}
non_x86_linux_machines = {'armv6l', 'armv7l', 'ppc64le'}
platform = _sys_map.get(sys.platform, 'unknown')
bits = 8 * tuple.__itemsize__
linkage = _platform_module.architecture()[1]

# https://docs.python.org/3/library/platform.html#platform.architecture
bits = 8 * (8 if sys.maxsize > 2 ** 32 else 4)

_PLATFORM_REPLACEMENT_MAP = {
'manylinux1_x86_64': ['linux_x86_64'],
'manylinux1_i686': ['linux_i686'],
Expand Down

0 comments on commit fb6f76d

Please sign in to comment.