This provides a more reliable way to determine that we are definitely imported from an astropy source checkout, by checking for a file .astropy-root that would only ever possibly exist in this case.  This is inessential though and can be removed if people want to get rid of this extra top-level file.
Actually this is better; we can put the special .astropy-root file under static/ so that it's not cluttering up the actual root.  But this is good enough for the desired purposes.
Add an explanation to .astropy-root
If extension modules need to be recompiled, automatically try running build_ext --inplace rather than just failing to import--very convenient.  At some point this should be extended to work for any extension module (rather than just using the utils._compiler heuristic) but that could be a little trickier
Add docstring for WCS.has_distortion
Fixed support on Python 3, and got rid of .astropy-root per https://github.com/astropy/astropy-helpers/issues/107#issuecomment-64282919
Split template into python and python parts
Add python template to setup_package.py
Add processing of python template to cython_generator
Adjustment to import python wrapper...

…itself importing the cython extension
Update erfa.pyx
Commit erfa.py
Add "_" in front of erfa functions in cython wrapper
Properly deal with stat_ok
Fix `__all__` in both templates
Update to erfa.py and erfa.pyx
Fix import in erfa tests
pep8 fixes to erfa.py.templ
Update erfa.py, following pep8 fixes
Fix problem where URL is being downloaded for each guess