diff options
author | Daniel Holth <dholth@fastmail.fm> | 2014-11-12 20:28:10 -0500 |
---|---|---|
committer | Daniel Holth <dholth@fastmail.fm> | 2014-11-12 20:28:10 -0500 |
commit | 34ebc511bcde7d87f9cb8645244e4eb29b200f90 (patch) | |
tree | 974849a27afc6ac7f10bc11974c176fa93ab193e | |
parent | 75058919fccafaea76d3602256f61dd489316eed (diff) | |
download | wheel-34ebc511bcde7d87f9cb8645244e4eb29b200f90.tar.gz |
Add py2-none-'arch' or py3-none-'arch' to the list of supported tags.
Useful for bundling platform-specific binaries that don't use any Python ABI.
-rw-r--r-- | wheel/pep425tags.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wheel/pep425tags.py b/wheel/pep425tags.py index 3af04a1..a6220ea 100644 --- a/wheel/pep425tags.py +++ b/wheel/pep425tags.py @@ -85,7 +85,10 @@ def get_supported(versions=None): # Tagged specifically as being cross-version compatible # (with just the major version specified) supported.append(('%s%s' % (impl, versions[0][0]), 'none', 'any')) - + + # Major Python version + platform; e.g. binaries not using the Python API + supported.append(('py%s' % (versions[0][0]), 'none', arch)) + # No abi / arch, generic Python for i, version in enumerate(versions): supported.append(('py%s' % (version,), 'none', 'any')) |