Commit 9d9f98dc authored by Matti Picus's avatar Matti Picus
Browse files

backport the equivalent of 24c4196d86af for pypy2

parent 874d998bc429
......@@ -382,6 +382,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 only: give us control over the ABI tag in a wheel name
import _imp
so_ext = _imp.get_suffixes()[0][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