✏️ 编辑:filelist.cpython-39.pyc
路径:
/usr/lib/python3.9/site-packages/setuptools/_distutils/__pycache__/filelist.cpython-39.pyc
大小:9.63 KB · 修改:2025-09-21 11:46:17 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a ���h 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 �B/usr/lib/python3.9/site-packages/setuptools/_distutils/filelist.py�__init__ s zFileList.__init__c C s || _ d S r )r )r r r r r �set_allfiles# s zFileList.set_allfilesc C s t |�| _d S r )�findallr )r �dirr r r r &