updated setup.py for python3 porting