Make sure egg_info is generated first

Otherwise copying the PKG-INFO file may fail at the end.