ef dZddlZddlZddlZddlmZddlmZddlm Z ddl m Z ddl m Z Gd d e Zd Zd ZdS) zD Create a dist_info directory As defined in the wheel specification N)contextmanager)log)Command)Path)_normalizationc`eZdZdZdZgdZddgZddiZdZdZ e d e d e fd 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))z output-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 rrcZd|_d|_d|_d|_d|_d|_dS)NF) output_dirname dist_info_dirtag_date tag_build keep_egg_info)selfs |/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/command/dist_info.pyinitialize_optionszdist_info.initialize_options)s4 ! "c|j}|jp tj}t |jp||_|d}t|j|_|j r |j |_ n |j |_ |j r |j |_ n |j |_ | ||_ tj|}tj|}|d||_tj|j|jd|_dS)Negg_info-z .dist-info) distributionsrc_rootoscurdirrrreinitialize_commandstregg_baserrfinalize_optionsrr safer_nameget_namesafer_best_effort_version get_versionrpathjoinr)rdist project_dirrrversions rr'zdist_info.finalize_options1s" m0ry t=+>>,,Z8800 = . $ H  $-DM > 0!%H  %/DN!!###  (99 :4;K;K;M;MNN''g'' W\\$/di;S;S;STTrdir_path requires_bkpc#K|r|d}t|dt||dd dVt|dtj||dS#t|dtj||wxYwdVdS)Nz.__bkp__T) ignore_errors) dirs_exist_oksymlinks)_rm_copyshutilmove)rr1r2bkp_names r_maybe_bkp_dirzdist_info._maybe_bkp_dirKs  ",,,H  - - - - (HD4 H H H H 0HD1111 Hh/////HD1111 Hh//// EEEEEs A(Bc4|jdd|j|jj}tj|s Jdtjd tj |j | d}| ||j5|||j ddddS#1swxYwYdS)NT)parentsexist_okz&.egg-info dir should have been createdz creating '{}' bdist_wheel)rmkdirrrunr"r,isdirrinfoformatabspathrget_finalized_commandr<regg2dist)r egg_info_dirr@s rrBz dist_info.runYsL dT::: }- w}}\**TT,TTT* ''8J(K(KLLMMM00??  t/A B B C C  t/A B B B C C C C C C C C C C C C C C C C C Cs$D  DDN)__name__ __module__ __qualname____doc__ description user_optionsboolean_options negative_optrr'rr%boolr<rBrrr r s UK   L"?3Oz*L###UUU4 s $   ^  C C C C Crr c ltj|rtj|fi|dSdS)N)r"r,rCr9rmtree)dir_nameoptss rr7r7gs@ w}}X( h''$'''''((rc xtjdkr|ddtj||fi|dS)N)r5)sys version_infopopr9copytree)srcdstrWs rr8r8lsD &   $''' OC%%%%%%%r)rMr"r9r[ contextlibr distutilsrdistutils.corerpathlibrrr r7r8rSrrrfs  %%%%%%""""""SCSCSCSCSCSCSCSCl((( &&&&&r