from anuga.utilities.data_audit_wrapper import IP_verified from os.path import join # Roughly the same as what is being released dirs_to_distribute = [join('anuga_core', 'source', 'anuga'), 'anuga_validation', join('anuga_core', 'documentation', 'user_manual')] # Individual segments #dirs_to_distribute = ['anuga_validation'] #dirs_to_distribute = [join('anuga_core', 'documentation', 'user_manual')] #dirs_to_distribute = [join('anuga_core', 'source', 'anuga')] for dir in dirs_to_distribute: if not IP_verified(dir, verbose=True): pass #print 'Not all files in %s have been verified.' %dir