syntax fixes in setup.py
python3 compatibility