diff options
-rw-r--r-- | wheel/bdist_wheel.py | 2 | ||||
-rw-r--r-- | wheel/pep425tags.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wheel/bdist_wheel.py b/wheel/bdist_wheel.py index 3631184..aa7c0c7 100644 --- a/wheel/bdist_wheel.py +++ b/wheel/bdist_wheel.py @@ -149,7 +149,7 @@ class bdist_wheel(Command): # sys.pypy_version_info.minor) abi_tag = sysconfig.get_config_vars().get('SOABI', 'none') if abi_tag.startswith('cpython-'): - abi_tag = 'cp' + abi_tag.split('-', 1)[-1] + abi_tag = 'cp' + abi_tag.split('-')[1] tag = (impl_name + impl_ver, abi_tag, plat_name) # XXX switch to this alternate implementation for non-pure: diff --git a/wheel/pep425tags.py b/wheel/pep425tags.py index a6220ea..2cf2230 100644 --- a/wheel/pep425tags.py +++ b/wheel/pep425tags.py @@ -60,7 +60,7 @@ def get_supported(versions=None): soabi = sysconfig.get_config_var('SOABI') if soabi and soabi.startswith('cpython-'): - abis[0:0] = ['cp' + soabi.split('-', 1)[-1]] + abis[0:0] = ['cp' + soabi.split('-')[1]] abi3s = set() import imp |