':param path: A path to be tested
:returns: Whether this path can be includes in the build'

def accept_path(self, path):

    for pattern in self.ignore_patterns:
        if fnmatch.fnmatch(path, pattern):
            return False
    return True
