diff options
| author | Nate Coraor <nate@bx.psu.edu> | 2015-09-03 13:13:29 -0400 |
|---|---|---|
| committer | Nate Coraor <nate@bx.psu.edu> | 2015-09-03 13:13:29 -0400 |
| commit | 8257a7b0e594783fdc7eb6134e4bc1ac8a22b2a0 (patch) | |
| tree | 7b6dbbc1ffd8ec72134c7dbe38406e6d3227f61c | |
| parent | 57462915062ea73b72aa40efe0d81d02b310edc6 (diff) | |
| download | wheel-git-8257a7b0e594783fdc7eb6134e4bc1ac8a22b2a0.tar.gz | |
Apply pip #2915 (correctly split the SOABI tag)
| -rw-r--r-- | wheel/pep425tags.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wheel/pep425tags.py b/wheel/pep425tags.py index b699d9f..002d7ca 100644 --- a/wheel/pep425tags.py +++ b/wheel/pep425tags.py @@ -53,9 +53,9 @@ def get_abi_tag(): u = 'u' if sys.maxunicode == 0x10ffff else '' abi = '%s%s%s%s%s' % (impl, get_impl_ver(), d, m, u) elif soabi and soabi.startswith('cpython-'): - abi = 'cp' + soabi.split('-', 1)[-1] + abi = 'cp' + soabi.split('-')[1] elif soabi: - abi = soabi + abi = soabi.replace('.', '_').replace('-', '_') else: abi = None return abi |
