3 \ 2 ã @ s† d Z ddlZddlZddlZddlZddlmZ ddlmZm Z ddl mZ G dd„ dƒZdd „ Z ejfd d„Zdd „ Zddd„ZdS )zsdistutils.filelist Provides the FileList class, used for poking about the filesystem and building lists of files. é N)Úconvert_path)ÚDistutilsTemplateErrorÚDistutilsInternalError)Úlogc @ s| e Zd ZdZddd„Zdd„ Zejfdd„Zd d „ Z dd„ Z d d„ Zdd„ Zdd„ Z dd„ Zdd„ Zddd„Zddd„ZdS ) ÚFileListaÑ A list of files built by on exploring the filesystem and filtered by applying various patterns to what we find there. Instance attributes: dir directory from which files will be taken -- only used if 'allfiles' not supplied to constructor files list of filenames currently being built/filtered/manipulated allfiles complete list of files under consideration (ie. without any filtering applied) Nc C s d | _ g | _d S )N)ÚallfilesÚfiles)ÚselfÚwarnÚdebug_print© r ú*/usr/lib64/python3.6/distutils/filelist.pyÚ__init__ s zFileList.__init__c C s || _ d S )N)r )r r r r r Úset_allfiles# s zFileList.set_allfilesc C s t |ƒ| _d S )N)Úfindallr )r Údirr r r r &