[Python-Dev] 2.3.6 for the unicode buffer overrun
ronaldoussoren at mac.com
Fri Oct 13 13:44:15 CEST 2006
On Friday, October 13, 2006, at 12:36PM, Bob Ippolito <bob at redivi.com> wrote:
>To be fair, (thanks to Ronald) the Mac build is entirely automated by
>a script with the caveat that you should be a little careful about
>what your environment looks like (e.g. don't install fink or macports,
>or to move them out of the way when building).
That (the "don't install Fink or macports" part) is because setup.py explicitly adds those directories to the library and include search path. IMHO that is a misfeature because it is much to easy to accidently contaminate a build that way. Fink and macports can easily add their directories to the search paths using OPTS and LDFLAGS, there's no need to automate this in setup.py.
The beauty of macports is that /opt/local is the default prefix, but you can easily pick another prefix and most ports work fine that way (or rather not worse than with the default prefix).
More information about the Python-Dev