K ipddlZddlmZmZddlmZddlmZddlm Z m Z GddejeZ y) N)Command namespaces)unpack_archive)ensure_directory)dir_utillogc>eZdZdZdZdgZdZd dZd dZdZ d dZ y) install_egg_infoz.Install an .egg-info directory for the package)z install-dir=dzdirectory to install tocd|_yN) install_dirselfs i/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/setuptools/command/install_egg_info.pyinitialize_optionsz#install_egg_info.initialize_optionss Nc|jdd|jd}|jd}|j|_t j j|j||_ g|_ y)N install_lib)rregg_infoz .egg-info) set_undefined_optionsget_finalized_command_get_egg_basenamersourceospathjoinrtargetoutputs)rei_cmdbasenames rfinalize_optionsz!install_egg_info.finalize_optionssg ""=2PQ++J7..01;oo ggll4#3#3X> "$ rc|jdtjj|jrUtjj |js,t j|j|jnbtjj|jr9|jtj|jfd|jz|jst|j|j|jdd|jd|j|jy)Nr)dry_runz Removing zCopying z to ) run_commandrrisdirrislinkr remove_treer%existsexecuteunlinkrcopytreerinstall_namespacesrs rrunzinstall_egg_info.runs $ 77== %bggnnT[[.I  dll C WW^^DKK ( LLT[[NK$++4M N|| T[[ ) T]]B(4;;-tDKK=(QR !rc|jSr)r rs r get_outputszinstall_egg_info.get_outputs*s ||rcRfd}tjj|y)NcdD]}|j|sd|z|vsyjj|tjd|||S)N)z.svn/zCVS//zCopying %s to %s) startswithr appendr debug)srcdstskiprs rskimmerz*install_egg_info.copytree..skimmer/sX( >>$'3:+<  LL   $ II(#s 3Jr)rrr)rr<s` rr.zinstall_egg_info.copytree-s  t{{DKK9r)returnN) __name__ __module__ __qualname____doc__ description user_optionsrr#r0r2r.r&rrr r s/8BK 9L % " :rr ) r setuptoolsrrsetuptools.archive_utilr_pathr distutilsrr Installerr r&rrrIs( *2$#/:z++W/:r