def get_include():
 import os
 lxml_path = __path__[0]
 include_path = os.path.join(lxml_path, 'includes')
 includes = [include_path, lxml_path]
 for name in os.listdir(include_path):
  path = os.path.join(include_path, name)
  if os.path.isdir(path):
   includes.append(path)
 return includes

def get_include ( ) : import os lxml_path = __path__ [ 0 ] include_path = os . path . join ( lxml_path , 'includes' ) includes = [ include_path , lxml_path ] for name in os . listdir ( include_path ) : path = os . path . join ( include_path , name ) if os . path . isdir ( path ) : includes . append ( path ) return includes
returns a list of header include paths needed to compile c code against lxml if it was built with statically linked libraries .