[New-bugs-announce] [issue7724] setup.py ignores SDK root on OSX

Ronald Oussoren report at bugs.python.org
Sun Jan 17 16:06:13 CET 2010


New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

On OSX it is possible to compile using an SDK, which is basicly a directory tree containing include files and shared library stubs. When building using an SDK (such as the 10.4u SDK) the compiler looks in the SDK subtree instead of / (that is, look for include files in $SDKROOT/usr/include instead of /usr/include, and simularly for other locations).

Python's setup.py should do the same thing when performing build-time tests, such as looking for header files or libraries.

BTW. I'm planning to work on a patch for this, the issue is mostly here to remind me that something needs to be done.

----------
assignee: ronaldoussoren
components: Build, Macintosh
messages: 97949
nosy: ronaldoussoren
severity: normal
stage: needs patch
status: open
title: setup.py ignores SDK root on OSX
type: compile error
versions: Python 2.7, Python 3.2

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


More information about the New-bugs-announce mailing list