installation script

Tested by installing into a virtualenv. Fixes #1.