def findTwistedProjects(baseDirectory):
    projects = []
    for filePath in baseDirectory.walk():
        if filePath.basename() == 'topfiles':
            projectDirectory = filePath.parent()
            projects.append(Project(projectDirectory))
    return projects
Find all Twisted-style projects beneath a base directory.
dataset/ETHPy150Open twisted/twisted/twisted/python/_release.py/findTwistedProjects