def METHOD_NAME(self):
    """getting python files"""
    if self.distribution.has_pure_modules():
        build_py = self.get_finalized_command('build_py')
        self.filelist.extend(build_py.get_source_files())
        self._add_data_files(self._safe_data_files(build_py))