관리-도구
편집 파일: archive_util.cpython-311.pyc
� �܋fg! � �P � d Z ddlZddlZddlmZ ddlZn # e$ r dZY nw xY wddlmZ ddl m Z ddlmZ ddl m Z dd lmZ n # e$ r dZY nw xY w dd lmZ n # e$ r dZY nw xY wd� Zd� Z dd�Zd d�Zedgdfedgdfedgdfedgdfedgdfeg dfd�Zd� Z d!d�ZdS )"zodistutils.archive_util Utility functions for creating archive files (tarballs, zip files, that sort of thing).� N)�warn� )�log)�mkpath)�DistutilsExecError)�spawn)�getpwnam)�getgrnamc �v � t �| �dS t | � � }n# t $ r d}Y nw xY w|�|d S dS )z"Returns a gid, given a group name.N� )r �KeyError��name�results �Y/opt/cloudlinux/venv/lib64/python3.11/site-packages/setuptools/_distutils/archive_util.py�_get_gidr �\ � ���4�<��t���$������� � � ��������� ���a�y���4� � �,�,c �v � t �| �dS t | � � }n# t $ r d}Y nw xY w|�|d S dS )z"Returns an uid, given a user name.Nr )r r r s r �_get_uidr - r r �gzipFc � ����� dddddd�}dddd d �}|�%||� � � vrt d� � �| d z } |dk r| |� |d� � z } t t j � | � � |�� � ddl} t j d� � t �� � �t �� � �����fd�}|se| � | d|| � �� � } |� ||�� � |� � � n# |� � � w xY w|dk rNt dt � � | || z } t"