> Hmm, that's still going to break for any custom build that decides to > build Python with a specific MACOSX_DEPLOYMENT_TARGET. If you're going > to fix it at all, it should default to the value in the Makefile that > sysconfig is going to check against. The relevant code to copy is in > sysconfig._init_posix().
Yes, I agree that sysconfig._init_posix() has the proper logic for this. This logic should also be applied to Cython as well probably. Would you say that the proper fix then is to inspect the Makefile and set MACOSX_DEPLOYMENT_TARGET to the valued used to build Python itself. Or should we still try to set it to 10.3 in some cases (like the current numpy.distutils does) or look at the environment as well? Cheers, Brian _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion