def normalize_excludes(rootpath, excludes):
 return [path.abspath(exclude) for exclude in excludes]

def normalize_excludes ( rootpath , excludes ) : return [ path . abspath ( exclude ) for exclude in excludes ]
normalize the excluded directory list: * must be either an absolute path or start with rootpath .