Antoine Pitrou added the comment: > What about using “not sysconfig.is_python_build()”? I had forgotten about it, thank you. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22895> _______________________________________