All these lines can be replaced with `sudo apt-get install python-nose` and `nosetests`, I think.