Commit 6ce6dcaf authored by Matti Picus's avatar Matti Picus
Browse files
parent e36c9b5c55a7
......@@ -383,9 +383,10 @@ def _init_non_posix(vars):
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])
if '__pypy__' in sys.builtin_module_names:
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