[issue11046] darwin/MacOS X setup.py hack

Ronald Oussoren report at bugs.python.org
Fri Jan 28 17:28:45 CET 2011


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Use:

configure ...[other args]... MACOSX_DEPLOYMENT_TARGET=10.5

(or 10.6 when you're on a 10.6 system)

This will build using the deployment target you mention, and will automaticly include the readline module using Apple's compatiblity wrapper around libedit.  To use GNU's readline you have to install that first and arrange for that to be on the search path (for example by installing into /usr/local).

BTW. Mac/README is for you, you are on OSX after all and that file explains a lot of the mac-specific issues w.r.t. building.  

Feel free to suggest additions to that file, I'm way to much at home on OSX and with the build process to truly know what a new user on OSX would like to see mentioned in that file.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11046>
_______________________________________


More information about the Python-bugs-list mailing list