Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r98036:24c4196d86af
Date: 2019-11-12 10:54 -0500
http://bitbucket.org/pypy/pypy/changeset/24c4196d86af/
Log: adapt sysconfig.py so pypy on windows adjusts the wheel ABI tag name
diff --git a/lib-python/3/sysconfig.py b/lib-python/3/sysconfig.py
--- a/lib-python/3/sysconfig.py
+++ b/lib-python/3/sysconfig.py
@@ -450,6 +450,10 @@
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit