make setup.py working with python3