code: def getpaths(self,libname):
          
          if os.path.isabs(libname):
              yield libname
          else:
              # FIXME / TODO return '.' and os.path.dirname(__file__)
              for path in self.getplatformpaths(libname):
                  yield path
  
              path = ctypes.util.find_library(libname)
              if path: yield path
docs: Return a list of paths where the library might be found.