Commit 6931f993 authored by Matti Picus's avatar Matti Picus
Browse files

adapt sysconfig.py so pypy on windows adjusts the wheel ABI tag name

--HG--
branch : py3.6
parent 7d21b9cbf13a
......@@ -450,6 +450,10 @@ def _init_non_posix(vars):
vars['EXE'] = '.exe'
vars['VERSION'] = _PY_VERSION_SHORT_NO_DOT
vars['BINDIR'] = os.path.dirname(_safe_realpath(sys.executable))
# pypy: give us control over the ABI tag in a wheel name
import _imp
so_ext = _imp.extension_suffixes()[0]
vars['SOABI']= '-'.join(so_ext.split('.')[1].split('-')[:2])
#
# public APIs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment