Allow setup to run under astropy