Initial fix for issue 2555
Small modifications to enable keyword retrieval
Pass requested keywords as a string.
Allow multiple --key arguments
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
Remove 2to3 from documentation
Re-add cov report PY2 behavior and tone down wording against 2to3

This partially reverts commit 55c727db73e1b881d2b9fb80cae7ff93bf601b8d.
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