<｜begin▁of▁sentence｜>### Instruction:
As an industrial engineer working on optimizing the deployment of Python and C extensions for a data analytics system, you've been tasked with compiling a C extension for Python that requires access to igraph's C API headers. A critical step in this process is obtaining the directory where these headers are located using igraph's Python interface. How can you efficiently obtain this directory to streamline the integration of the C extension into the system?
### Response:
from igraph import get_include
import os

# Get the directory containing the C API headers for the igraph Python interface
include_dir = get_include()

# Check if the directory exists
if os.path.isdir(include_dir):
    print('The C API header files are located in:', include_dir)
else:
    print('The C API header directory does not exist.')
<|EOT|>
