Updated setupegg.py to work with Python3