관리-도구
편집 파일: install_egg_info.cpython-311.pyc
� �܋f � �v � d dl mZmZ d dlZd dlmZ d dlmZ d dlmZ ddl m Z G d� d ej e� � ZdS ) � )�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 �t/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/setuptools/command/install_egg_info.py�initialize_optionsz#install_egg_info.initialize_options s � ������ c � � | � dd� � | � d� � }|� � � � d�}|j | _ t j � | j |� � | _ g | _ d S )N�install_lib)r r �egg_infoz .egg-info)�set_undefined_options�get_finalized_command�_get_egg_basenamer �source�os�path�joinr �target�outputs)r �ei_cmd�basenames r �finalize_optionsz!install_egg_info.finalize_options st � ��"�"�=�2P�Q�Q�Q��+�+�J�7�7���.�.�0�0�;�;�;���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 �islinkr �remove_treer% �exists�execute�unlinkr �copytreer �install_namespacesr s r �runzinstall_egg_info.run s� � �����$�$�$� �7�=�=���%�%� O�b�g�n�n�T�[�.I�.I� O�� ���d�l�C�C�C�C�C� �W�^�^�D�K� (� (� O��L�L���T�[�N�K�$�+�4M�N�N�N��|� *��T�[�)�)�)����T�]�B�B�d�k�k�k�4�;�;�(W�X�X�X����!�!�!�!�!r c � � | j S r )r r s r �get_outputszinstall_egg_info.get_outputs) s � ��|�r c �H � � � fd�}t � j � j |� � d S )Nc � �� dD ]!}| � |� � sd|z | v r d S �"�j � |� � t j d| |� � |S )N)z.svn/zCVS/�/zCopying %s to %s)� startswithr �appendr �debug)�src�dst�skipr s �r �skimmerz*install_egg_info.copytree.<locals>.skimmer. sr �� � (� � ���>�>�$�'�'� �3��:��+<�+<��4�4� ,=��L����$�$�$��I�(�#�s�3�3�3��Jr )r r r )r r<