Made setupegg.py Python 3 compatible