This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ronaldoussoren, srid, tarek
Date 2010-08-07.10:10:12
SpamBayes Score 7.391091e-09
Marked as misclassified No
Message-id <1281175815.96.0.583085021977.issue9516@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that this behavior wrong, this should only trigger an error when building packages.

How did you build python? I guess something like this:

$ export MACOSX_DEPLOYMENT_TARGET=10.5
$ configure --enable-framework
$ make install

This should result in getting the right deployment target into config/Makefile, which means there may be two bugs here:

1) sysconfig.get_config_vars shouldn't trigger and error, only 
   the distutils build command should do that

2) config/Makefile should always contain the value of MACOSX_DEPLOYMENT_TARGET as used during the build, which in turn should
mean the value during the configure step.

BTW. I tend to configure like this:

$ configure --enable-framework MACOSX_DEPLOYMENT_TARGET=10.5

That way automatic reruns of configure pick up the right environment variables.
History
Date User Action Args
2010-08-07 10:10:16ronaldoussorensetrecipients: + ronaldoussoren, tarek, srid
2010-08-07 10:10:15ronaldoussorensetmessageid: <1281175815.96.0.583085021977.issue9516@psf.upfronthosting.co.za>
2010-08-07 10:10:13ronaldoussorenlinkissue9516 messages
2010-08-07 10:10:12ronaldoussorencreate