fix setup.py so it can be called from anywhere

This makes the setup script a little more robust, makes working with scripts a little more easy since you don't need to cd to the repository directory.