add 2to3 conversion in setup.py
explicit exception check
Merge pull request #196 from wasade/setup_2to3

add 2to3 conversion in setup.py