Tidy the given eggs list

def tidy_eggs_list(eggs_list):
    """Tidy the given eggs list
    """
    tmp = []
    for line in eggs_list:
        line = line.lstrip().rstrip()
        line = line.replace('\'', '')
        line = line.replace(',', '')
        if line.endswith('site-packages'):
            continue
        tmp.append(line)
    return tmp