관리-도구
편집 파일: install_egg_info.cpython-311.pyc
� N�Dg� � �t � d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z G d� de� � Z d � Zd � Zd� Z dS )z� distutils.command.install_egg_info Implements the Distutils 'install_egg_info' command, for installing a package's PKG-INFO metadata. � N� )�Command)�dir_util)�logc �J � e Zd ZdZdZdgZd� Zed� � � Zd� Z d� Z d� Zd S ) �install_egg_infoz)Install an .egg-info file for the packagez8Install package's PKG-INFO metadata as an .egg-info file)zinstall-dir=�dzdirectory to install toc � � d | _ d S �N)�install_dir��selfs ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/_distutils/command/install_egg_info.py�initialize_optionsz#install_egg_info.initialize_options s � ������ c � � dt t | j � � � � � � � t t | j � � � � � � � gt j dd� �R z S )z_ Allow basename to be overridden by child class. Ref pypa/distutils#2. z%s-%s-py%d.%d.egg-infoNr )�to_filename� safe_name�distribution�get_name�safe_version�get_version�sys�version_infor s r �basenamezinstall_egg_info.basename su � � (�� �$�"3�"<�"<�">�">�?�?�@�@���T�%6�%B�%B�%D�%D�E�E�F�F�+ � � �b�q�b� !�+ � + � � r c � � | � dd� � t j � | j | j � � | _ | j g| _ d S )N�install_lib)r r )�set_undefined_options�os�path�joinr r �target�outputsr s r �finalize_optionsz!install_egg_info.finalize_options( sD � ��"�"�=�2P�Q�Q�Q��g�l�l�4�#3�T�]�C�C�����}����r c �� � | j }t j � |� � r;t j � |� � st j || j �� � n�t j � |� � r+| � t j | j fd|z � � nSt j � | j � � s/| � t j | j fd| j z � � t j d|� � | j sLt |dd�� � 5 }| j j � |� � d d d � � d S # 1 swxY w Y d S d S )N)�dry_runz Removing z Creating z Writing %s�wzUTF-8)�encoding)r"