I don't think I'd recommend this for affiliated packages per se, but what about including `astropy_helpers` in the *astropy* release tarballs, which is used either if pypi is unavailable, or if the version on pypi is the same as the included one?  That way, we get the advantage of both of the last two for users.