blob: a765692feada946fb8ef8dcd084a2836689fa3ca [file] [log] [blame]
from ._version import version_info, __version__ # noqa: F401 imported but unused
def get_include(*args, **kwargs):
import os
try:
from pip import locations
return os.path.dirname(
locations.distutils_scheme('pybind11', *args, **kwargs)['headers'])
except ImportError:
return 'include'