Switch to setup.py for installing remotely and as package.