]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 15 May 2011 14:46:11 +0000 (16:46 +0200)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 15 May 2011 14:46:11 +0000 (16:46 +0200)
commit222e89a598664e4cffc2928da676ec22921ecc94
tree1db33d276e14ff41224588ae4e0647f661c318df
parent2bff9fcec23798dd192932842bae9855ed47a862
Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.

Without this patch python will fail to start properly when the environment
variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is
not compatible with the value during Python's build. This is caused by code
in sysconfig that was only meant to be used in disutils.
Lib/distutils/sysconfig.py
Lib/distutils/tests/test_build_ext.py
Lib/distutils/tests/test_util.py
Lib/distutils/util.py
Lib/sysconfig.py
Lib/test/test_sysconfig.py