def list_local_packages(path):
    """Lists all local packages below a path that could be installed."""
    rv = []
    try:
        for filename in os.listdir(path):
            if os.path.isfile(os.path.join(path, filename, 'setup.py')):
                rv.append('@' + filename)
    except __HOLE__:
        pass
    return rv
dataset/ETHPy150Open lektor/lektor/lektor/packages.py/list_local_packages