관리-도구
편집 파일: archive_util.cpython-311.pyc
� c��f|! � �B � d Z ddlZddlmZ ddlZ ddlZn # e$ r dZY nw xY wddlmZ ddl m Z ddlmZ ddl mZ ddlmZ n # e$ r dZY nw xY w dd lmZ n # e$ r dZY nw xY wd � Zd� Z dd �Zdd�Zedgdfedgdfedgdfedgdfedgdfeg dfd�Zd� Z dd�ZdS ) zodistutils.archive_util Utility functions for creating archive files (tarballs, zip files, that sort of thing).� N)�warn)�DistutilsExecError)�spawn)�mkpath)�log)�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 �=/opt/alt/python311/lib64/python3.11/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 �gzipc � ����� dddddd�}dddd d �}|�%||� � � vrt d� � �| d z } |dk r| |� |d� � z } t t j � | � � |�� � ddl} t j d� � t �� � �t �� � �����fd�}|se| � | d|| z � � } |� ||�� � |� � � n# |� � � w xY w|dk rNt dt � � | || z } t"