[pypy-commit] pypy default: (mjacob, stevie) added SO variable to sysconfig
stevie_92
pypy.commits at gmail.com
Thu Mar 2 06:48:31 EST 2017
Author: Stefan Beyer <home at sbeyer.at>
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]
}
More information about the pypy-commit
mailing list