Update setupegg.py to Python 3