[Pythonmac-SIG] dl module on Mac python builds

Ronald Oussoren ronaldoussoren at mac.com
Tue Mar 7 08:14:02 CET 2006


On 7-mrt-2006, at 2:04, Zachary Pincus wrote:

> Hi folks,
>
> Despite the fact that dlopen() is available on OS X for 10.3 and
> above, the python dl module has not been made available on 10.3 and
> 10.4.
>
> Specifically, some code in the python setup.py script explicitly
> prevents the dl module from being built on darwin even if python sees
> dlfcn.h:
>
>      dl_inc = find_file('dlfcn.h', [], inc_dirs)
>          if (dl_inc is not None) and (platform not in ['atheos',
> 'darwin']):
>              exts.append( Extension('dl', ['dlmodule.c']) )
>
>
> Does anyone know the reason for this explicit check to keep the dl
> module from being built on darwin?

I don't. Why don't you patch setup.py and see what breaks?

Ronald



More information about the Pythonmac-SIG mailing list