parameters: (self, extlib)
docstring: Append libraries, include_dirs to extension or library item.
docstring_summary: Append libraries, include_dirs to extension or library item.
docstring_tokens: Append libraries include_dirs to extension or library item .
function: def append_to(self, extlib):
          """Append libraries, include_dirs to extension or library item.
          """
          if is_sequence(extlib):
              lib_name, build_info = extlib
              dict_append(build_info,
                          libraries=self.libraries,
                          include_dirs=self.include_dirs)
          else:
              from numpy.distutils.core import Extension
              assert isinstance(extlib, Extension), repr(extlib)
              extlib.libraries.extend(self.libraries)
              extlib.include_dirs.extend(self.include_dirs)
function_tokens: def append_to ( self , extlib ) : if is_sequence ( extlib ) : lib_name , build_info = extlib dict_append ( build_info , libraries = self . libraries , include_dirs = self . include_dirs ) else : from numpy . distutils . core import Extension assert isinstance ( extlib , Extension ) , repr ( extlib ) extlib . libraries . extend ( self . libraries ) extlib . include_dirs . extend ( self . include_dirs )