Re-organize the setup.py so that Astropy is not required for egg_info