Éric Araujo added the comment: What about using “not sysconfig.is_python_build()”? ---------- nosy: +eric.araujo _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22895> _______________________________________