def get_include(user=False):
from distutils.dist import Distribution<EOL>virtualenv = hasattr(sys, '<STR_LIT>') or sys.prefix != getattr(sys, "<STR_LIT>", sys.prefix)<EOL>if virtualenv:<EOL><INDENT>return os.path.join(sys.prefix, '<STR_LIT>', '<STR_LIT>', '<STR_LIT>' + sys.version[:<NUM_LIT:3>])<EOL><DEDENT>dist = Distribution({'<STR_LIT:name>': '<STR_LIT>'})<EOL>dist.parse_config_files()<EOL>dist_cobj = dist.get_command_obj('<STR_LIT>', create=True)<EOL>if user:<EOL><INDENT>dist_cobj.user = user<EOL>dist_cobj.prefix = "<STR_LIT>"<EOL><DEDENT>dist_cobj.finalize_options()<EOL>return os.path.dirname(dist_cobj.install_headers)<EOL>
r'''
  Get the relevant ``include`` directory.

  (c) Sylvain Corlay, https://github.com/pybind/python_example