관리-도구
편집 파일: sdist.cpython-311.pyc
� ,�Re� � � � d dl mZ d dlmc mZ d dlZd dlZd dlZd dl Z d dl mZ ddlm Z ddlmZ ddlmZ eZd d �Z G d� de ej � � ZdS )� )�logN)�chain� )�sdist_add_defaults� )�metadata)�_ORIGINAL_SUBCOMMANDS� c # � K � t j d�� � D ]&} |� � � | � � D ]}|V � ��'dS )z%Find all files under revision controlzsetuptools.file_finders)�groupN)r �entry_points�load)�dirname�ep�items ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/command/sdist.py�walk_revctrlr s_ � � � ��#�*C�D�D�D� � ���B�G�G�I�I�g�&�&� � �D��J�J�J�J� �� � c �� � � e Zd ZdZg d�Zi Zg d�Z ed� eD � � � � Zd� Z d� Z d� Zd� Ze ej d � � � � � Z� fd �Z� fd�Zd� Zd � Zd� Zd� Z� fd�Zd� Zd� Zd� Zd� Z� xZS )�sdistz=Smart sdist that finds anything supported by revision control))zformats=Nz6formats for source distribution (comma-separated list))z keep-temp�kz@keep the distribution tree around after creating archive file(s))z dist-dir=�dzFdirectory to put the source distribution archive(s) in [default: dist])zowner=�uz@Owner name used when creating a tar file [default: current user])zgroup=�gzAGroup name used when creating a tar file [default: current group])r z.rstz.txtz.mdc # �@ K � | ]}d � |� � V � �dS )z README{0}N)�format)�.0�exts r � <genexpr>zsdist.<genexpr>- s0 � � � �I�I��K�&�&�s�+�+�I�I�I�I�I�Ir c � � | � d� � | � d� � }|j | _ | j � t j � |j d� � � � | � � � | � � � D ]}| � |� � �| � � � t | j dg � � }| j D ] }dd|f}||vr|� |� � �!d S )N�egg_infozSOURCES.txt� dist_filesr r )�run_command�get_finalized_command�filelist�append�os�path�joinr! �check_readme�get_sub_commands�make_distribution�getattr�distribution� archive_files)�self�ei_cmd�cmd_namer"