setup.py error handling

Added more logging and better error handling to setup.py