def available_distributions(flocker_source_path):
 return set((path.basename() for path in flocker_source_path.descendant(BUILD_TARGETS_SEGMENTS).children() if (path.isdir() and path.child('Dockerfile').exists())))

def available_distributions ( flocker_source_path ) : return set ( ( path . basename ( ) for path in flocker_source_path . descendant ( BUILD_TARGETS_SEGMENTS ) . children ( ) if ( path . isdir ( ) and path . child ( 'Dockerfile' ) . exists ( ) ) ) )
determine the distributions for which packages can be built .