def recursive_include(self, dir, pattern):
        """
        Include all files anywhere in 'dir/' that match the pattern.
        """
        full_pattern = os.path.join(dir, '**', pattern)
        found = [f for f in glob(full_pattern, recursive=True) if not os.path.isdir(f)]
        self.extend(found)
        return bool(found)

        Include all files anywhere in 'dir/' that match the pattern.
        
product/gradle-plugin/src/main/python/setuptools/command/egg_info.py