[Image-SIG] [Python-Help] Build PIL (python imaging library) in Debug mode (win64, AMD64)

"Martin v. Löwis" martin at v.loewis.de
Sat Aug 25 06:16:35 CEST 2007


> How can I tell PIL to build me a python debug extension (using my custom
> build of python2.5.1 debug python_d.exe) instead of a python release
> extension?

You will have to edit PIL's setup.py to support that case. Check whether
self.debug is set inside build_extension; if it is not, trace through
the code how it got lost. Check whether get_ext_filename gets invoked;
if so, trace through the code why it fails to append _d.pyd, if not,
check whether get_outputs gets invoked.

Regards,
Martin


More information about the Image-SIG mailing list