[pypy-commit] pypy release-pypy3.5-5.x: Expose SOABI in sysconfig in pypy3 too

stefanor pypy.commits at gmail.com
Sun Jun 4 16:05:59 EDT 2017


Author: Stefano Rivera <stefano at rivera.za.net>
Branch: release-pypy3.5-5.x
Changeset: r91514:81df83380eea
Date: 2017-06-04 23:05 +0300
http://bitbucket.org/pypy/pypy/changeset/81df83380eea/

Log:	Expose SOABI in sysconfig in pypy3 too (grafted from
	228f8b4206aea43feb6621ed1df7db94d0507ebf)

diff --git a/lib_pypy/_sysconfigdata.py b/lib_pypy/_sysconfigdata.py
--- a/lib_pypy/_sysconfigdata.py
+++ b/lib_pypy/_sysconfigdata.py
@@ -5,5 +5,6 @@
 build_time_vars = {
     "EXT_SUFFIX": so_ext,
     "SHLIB_SUFFIX": so_ext,
+    "SOABI": '-'.join(so_ext.split('.')[1].split('-')[:2]),
     "SO": so_ext  # deprecated in Python 3, for backward compatibility
 }


More information about the pypy-commit mailing list