get_include#
- astropy.wcs.get_include()[source]#
Get the path to astropy.wcs’s C header files.
- Raises:
NoWcslibHeadersErrorIf astropy was built against a system installation of WCSLIB, in which case the WCSLIB headers needed to build extensions against the
astropy.wcsC API are not included.
Note
The C API exposed through these headers is provided only for backward compatibility with existing downstream packages and is no longer recommended. Most of its members are deprecated, and calling one emits a
DeprecationWarning. The API as a whole may be deprecated and removed in a future version of astropy, so new code should not rely on it.