If you don't like spending time in debuggers (and don't appreciate poor usability of pdb
command line interface), you can dump execution trace and analyze it later. For example:
python -m trace -t setup.py install > execution.log
This will dump all source line of setup.py install
execution to execution.log
.
To make it easier to customize trace output and write your own tracers, I put together some pieces of code into xtrace module (public domain).