Let's try bringing back setup.py develop and forcing the allocation of pseudo-terminals in ssh.

Build 442 said...
Pseudo-terminal will not be allocated because stdin is not a terminal.
bash: line 1: 14458 Killed                  make clean
...which was the only suspicious passage.