parameters: (self, notfound_action=0)
return_statement: return copy.deepcopy(res)
docstring: Return a dictonary with items that are compatible
              with numpy.distutils.setup keyword arguments.
docstring_summary: Return a dictonary with items that are compatible
              with numpy.distutils.setup keyword arguments.
docstring_tokens: Return a dictonary with items that are compatible with numpy . distutils . setup keyword arguments .
function: def get_info(self, notfound_action=0):
          """ Return a dictonary with items that are compatible
              with numpy.distutils.setup keyword arguments.
          """
          flag = 0
          if not self.has_info():
              flag = 1
              log.info(self.__class__.__name__ + ':')
              if hasattr(self, 'calc_info'):
                  self.calc_info()
              if notfound_action:
                  if not self.has_info():
                      if notfound_action == 1:
                          warnings.warn(self.notfounderror.__doc__, stacklevel=2)
                      elif notfound_action == 2:
                          raise self.notfounderror(self.notfounderror.__doc__)
                      else:
                          raise ValueError(repr(notfound_action))
  
              if not self.has_info():
                  log.info('  NOT AVAILABLE')
                  self.set_info()
              else:
                  log.info('  FOUND:')
  
          res = self.saved_results.get(self.__class__.__name__)
          if self.verbosity > 0 and flag:
              for k, v in res.items():
                  v = str(v)
                  if k in ['sources', 'libraries'] and len(v) > 270:
                      v = v[:120] + '...\n...\n...' + v[-120:]
                  log.info('    %s = %s', k, v)
              log.info('')
  
          return copy.deepcopy(res)
function_tokens: def get_info ( self , notfound_action = 0 ) : flag = 0 if not self . has_info ( ) : flag = 1 log . info ( self . __class__ . __name__ + ':' ) if hasattr ( self , 'calc_info' ) : self . calc_info ( ) if notfound_action : if not self . has_info ( ) : if notfound_action == 1 : warnings . warn ( self . notfounderror . __doc__ , stacklevel = 2 ) elif notfound_action == 2 : raise self . notfounderror ( self . notfounderror . __doc__ ) else : raise ValueError ( repr ( notfound_action ) ) if not self . has_info ( ) : log . info ( '  NOT AVAILABLE' ) self . set_info ( ) else : log . info ( '  FOUND:' ) res = self . saved_results . get ( self . __class__ . __name__ ) if self . verbosity > 0 and flag : for k , v in res . items ( ) : v = str ( v ) if k in [ 'sources' , 'libraries' ] and len ( v ) > 270 : v = v [ : 120 ] + '...\n...\n...' + v [ - 120 : ] log . info ( '    %s = %s' , k , v ) log . info ( '' ) return copy . deepcopy ( res )