]> granicus.if.org Git - python/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:44:27 +0000 (16:44 +0200)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 15 May 2011 14:44:27 +0000 (16:44 +0200)
commita70286b71d6b98c14275c26f6ca1f0507c1bc56b
treeb6b408265b1f73561e2ff80fa03fd817b0a8e65a
parent11041f0af94aec94500a5fd65f709d9de00bc943
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/util.py
Lib/sysconfig.py
Lib/test/test_sysconfig.py