File: D:/Python311/Lib/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-311.pyc
�
�nc� � �~ � d dl mZmZ d dlZd dlmZ d dlmZ d dlmZ ddl m
Z
d dlZ G d� d ej e� � Z
dS )
� )�log�dir_utilN)�Command)�
namespaces)�unpack_archive� )�ensure_directoryc �: � e Zd ZdZdZdgZd� Zd� Zd� Zd� Z d� Z
dS ) �install_egg_infoz.Install an .egg-info directory for the package)zinstall-dir=�dzdirectory to install toc � � d | _ d S �N)�install_dir��selfs �ED:\Python311\Lib\site-packages\setuptools/command/install_egg_info.py�initialize_optionsz#install_egg_info.initialize_options s � ������ c �B � | � dd� � | � d� � }t j d d |j |j � � � � � dz }|j | _ t j �
| j |� � | _ g | _
d S )N�install_lib)r r �egg_infoz .egg-info)�set_undefined_options�get_finalized_command�
pkg_resources�Distribution�egg_name�egg_versionr �source�os�path�joinr �target�outputs)r �ei_cmd�basenames r �finalize_optionsz!install_egg_info.finalize_options s� � ��"�"�=�#A� C� C� C��+�+�J�7�7�� �-��$����);�
�
�
�(�*�*�{�#�� �o����g�l�l�4�#3�X�>�>�������r c �^ � | � d� � t j � | j � � rEt j � | j � � s!t
j | j | j �� � nSt j � | j � � r/| �
t j | j fd| j z � � | j st | j � � | �
| j
dd| j �d| j ��� � | � � � d S )Nr )�dry_runz Removing � zCopying z to )�run_commandr r �isdirr"