,zy[; d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl mZ ddlm Z G d d e Zd Zd ZdS ) zD Create a dist_info directory As defined in the wheel specification N)contextmanager)log)Command)Path )_normalizationc ` e Zd ZdZdZg dZddgZddiZd Zd Z e d ed efd Z d Zd S ) dist_infoz This command is private and reserved for internal use of setuptools, users should rely on ``setuptools.build_meta`` APIs. z@DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory))zoutput-dir=ozYdirectory inside of which the .dist-info will becreated (default: top of the source tree))tag-datedz0Add date stamp (e.g. 20050528) to version number)z tag-build=bz-Specify explicit tag to add to version number)no-dateDz"Don't include date stamp [default]) keep-egg-infoNz,*TRANSITIONAL* will be removed in the futurer r r c Z d | _ d | _ d | _ d | _ d | _ d| _ d S )NF) output_dirname dist_info_dirtag_date tag_build keep_egg_info)selfs |/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/command/dist_info.pyinitialize_optionszdist_info.initialize_options) s4 ! " c | j }|j pt j }t | j p| | _ | d }t | j |_ | j r | j |_ n|j | _ | j r | j |_ n|j | _ | || _ t j | }t j | }| d| | _ t j | j | j d | _ d S )Negg_info-z .dist-info)distributionsrc_rootoscurdirr r reinitialize_commandstregg_baser r finalize_optionsr r safer_nameget_namesafer_best_effort_versionget_versionr pathjoinr )r distproject_dirr r versions r r' zdist_info.finalize_options1 s" m0ryt=+>>,,Z8800= . $ H$-DM> 0!%H%/DN!!### (99 :4;K;K;M;MNN''g'' W\\$/di;S;S;STTr dir_pathrequires_bkpc # K |r| d}t |d t ||dd d V t |d t j || d S # t |d t j || w xY wd V d S )Nz.__bkp__T) ignore_errors) dirs_exist_oksymlinks)_rm_copyshutilmove)r r1 r2 bkp_names r _maybe_bkp_dirzdist_info._maybe_bkp_dirK s ",,,H----(HD4HHHH 0HD1111Hh///// HD1111Hh////EEEEEs A (Bc 4 | j dd | j | j j }t j | s J d t j d t j | j | d }| || j 5 | || j d d d d S # 1 swxY w Y d S )NT)parentsexist_okz&.egg-info dir should have been createdz creating '{}'bdist_wheel)r mkdirr runr" r, isdirr infoformatabspathr get_finalized_commandr<