Updated setup script to work with Python 2.7