| Server IP : 172.67.201.108 / Your IP : 216.73.216.55 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.7 System : Linux ip-172-31-69-123.ec2.internal 6.1.177-224.371.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 20:28:29 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/setuptools/command/__pycache__/ |
Upload File : |
a
H�8h
� @ sx d dl mZ d dlm mZ d dlZd dlZd dlZd dl Z ddl
mZ d dlZe
Zd
dd�ZG dd � d eej�ZdS )� )�logN� )�sdist_add_defaults� c c s, t �d�D ]}|�� | �D ]
}|V qq
dS )z%Find all files under revision controlzsetuptools.file_findersN)�
pkg_resourcesZiter_entry_points�load)�dirnameZep�item� r
�</usr/lib/python3.9/site-packages/setuptools/command/sdist.py�walk_revctrl s r c s� e Zd ZdZg d�Zi Zg d�Zedd� eD ��Zdd� Z dd � Z
d
d� Zdd
� Ze
ejdd� ��Z� fdd�Zdd� Zdd� Zdd� Z� fdd�Zdd� Zdd� Zdd� Zd d!� Z� ZS )"�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 c s | ]}d � |�V qdS )z README{0}N)�format)�.0Zextr
r
r � <genexpr>+ � zsdist.<genexpr>c C s� | � d� | �d�}|j| _| j�tj�|jd�� | �� | � � D ]}| � |� qD| �
� t| jdg �}| j
D ] }dd|f}||vrp|�|� qpd S )N�egg_infozSOURCES.txt�
dist_filesr
r )Zrun_command�get_finalized_command�filelist�append�os�path�joinr �check_readmeZget_sub_commands�make_distribution�getattr�distributionZ
archive_files)�selfZei_cmdZcmd_namer �file�datar
r
r �run- s
z sdist.runc C s t j�| � | �� d S �N)�origr
�initialize_options�_default_to_gztar�r"