remove compiled python files
restore python source files
change the relative imports to be path independent

with thanks to Sorin (http://stackoverflow.com/a/6098238/320438)