[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

Ronald Oussoren report at bugs.python.org
Tue Aug 17 22:00:44 CEST 2010

Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I can reproduce this with a script that builds and installs a couple of python versions, annoyingly enough I don't understand why that code fails.

In particular, in my script the run of python that fails is started with this code:

    lg.debug("Run setup script with '%s'", python)
    p = subprocess.Popen([
        python, "setup.py", "install"],
        cwd=distribute_dir, stdout=subprocess.PIPE,

This prints the environment and then runs a setup.py script. What confuses me is that the printed environment does *not* contain MACOSX_DEPLOYMENT_TARGET while that is the only way to trigger this bug.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list