Author: Stefan Beyer <[email protected]>
Branch:
Changeset: r90475:bbcb5f789c19
Date: 2017-03-02 12:39 +0100
http://bitbucket.org/pypy/pypy/changeset/bbcb5f789c19/
Log: (mjacob, stevie) added SO variable to sysconfig
diff --git a/lib_pypy/_sysconfigdata.py b/lib_pypy/_sysconfigdata.py
--- a/lib_pypy/_sysconfigdata.py
+++ b/lib_pypy/_sysconfigdata.py
@@ -1,2 +1,5 @@
+import imp
+
build_time_vars = {
+ "SO": [s[0] for s in imp.get_suffixes() if s[2] == imp.C_EXTENSION][0]
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit