GE f n d dl Z d dlmZmZ d dlmZ ddlmZ d dlm Z m Z G d dej e ZdS ) N)Command namespaces)unpack_archive )ensure_directory)dir_utillogc @ e Zd ZdZdZdgZd Zd dZd dZd Z d 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_dirselfs u/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/setuptools/command/install_egg_info.pyinitialize_optionsz#install_egg_info.initialize_options s returnNc | dd | d }| d}|j | _ t j | j | | _ g | _ d S )Ninstall_lib)r r egg_infoz .egg-info)set_undefined_optionsget_finalized_command_get_egg_basenamer sourceospathjoinr targetoutputs)r ei_cmdbasenames r finalize_optionsz!install_egg_info.finalize_options st ""=2PQQQ++J77..00;;;ogll4#3X>>"$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&