distutil and debugging

Gerhard Häring gh at ghaering.de
Sat Jul 3 18:49:41 CEST 2004


Jesper Olsen wrote:
> Hi,
> 
> I have a C-extention build with distutils that I would like to debug.
> 
> How can I specify to distuils to pass option "-g" and not "-O2" along to
> the compiler (gcc)?

python setup.py build --debug

-- Gerhard




More information about the Python-list mailing list