def Dependencies(lTOC, xtrapath=None, manifest=None, redirects=None):
 lTOC = _extract_from_egg(lTOC)
 for (nm, pth, typ) in lTOC:
  if (nm.upper() in seen):
   continue
  logger.debug('Analyzing %s', pth)
  seen.add(nm.upper())
  if is_win:
   for (ftocnm, fn) in getAssemblyFiles(pth, manifest, redirects):
    lTOC.append((ftocnm, fn, 'BINARY'))
  for (lib, npth) in selectImports(pth, xtrapath):
   if ((lib.upper() in seen) or (npth.upper() in seen)):
    continue
   seen.add(npth.upper())
   lTOC.append((lib, npth, 'BINARY'))
 return lTOC

def Dependencies ( lTOC , xtrapath = None , manifest = None , redirects = None ) : lTOC = _extract_from_egg ( lTOC ) for ( nm , pth , typ ) in lTOC : if ( nm . upper ( ) in seen ) : continue logger . debug ( 'Analyzing %s' , pth ) seen . add ( nm . upper ( ) ) if is_win : for ( ftocnm , fn ) in getAssemblyFiles ( pth , manifest , redirects ) : lTOC . append ( ( ftocnm , fn , 'BINARY' ) ) for ( lib , npth ) in selectImports ( pth , xtrapath ) : if ( ( lib . upper ( ) in seen ) or ( npth . upper ( ) in seen ) ) : continue seen . add ( npth . upper ( ) ) lTOC . append ( ( lib , npth , 'BINARY' ) ) return lTOC
expand ltoc to include all the closure of binary dependencies .