def addpackage(sitedir, name, known_paths):
    if known_paths is None:
        _init_pathinfo()
        reset = 1
    else:
        reset = 0
    fullname = os.path.join(sitedir, name)
    try:
        f = open(fullname, "rU")
    except IOError:
        return
    with f:
        for line in f:
            if line.startswith("#"):
                continue
            if line.startswith(("import ", "import\t")):
                exec line
                continue
            line = line.rstrip()
            dir, dircase = makepath(sitedir, line)
            if not dircase in known_paths and os.path.exists(dir):
                sys.path.append(dir)
                known_paths.add(dircase)
    if reset:
        known_paths = None
    return known_paths
This will only return the first 8 colors!
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site.py/addpackage--crossover with--dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/names.py/FindNearest.only_basic