U l a@s\ddlmZmZddlZddlmZddlmZddlmZddl Z Gdddej eZ dS))logdir_utilN)Command) namespaces)unpack_archivec@sBeZdZdZdZdgZddZddZddZd d Z d d Z d S)install_egg_infoz.Install an .egg-info directory for the package)z install-dir=dzdirectory to install tocCs d|_dSN) install_dirselfr dC:\Users\vtejo\AppData\Local\Temp\pip-unpacked-wheel-wx4infiz\setuptools\command\install_egg_info.pyinitialize_optionssz#install_egg_info.initialize_optionscCsV|dd|d}tdd|j|jd}|j|_tj |j ||_ g|_ dS)N install_lib)r r egg_infoz .egg-info)set_undefined_optionsget_finalized_command pkg_resources Distributionegg_nameZ egg_versionrsourceospathjoinr targetoutputs)r Zei_cmdbasenamer r rfinalize_optionss z!install_egg_info.finalize_optionscCs|dtj|jr:tj|js:tj|j|jdn(tj |jrb| tj |jfd|j|jstt |j| |jdd|j|jf|dS)Nr)dry_runz Removing r Copying %s to %s) run_commandrrisdirrislinkr remove_treerexistsexecuteunlinkrensure_directorycopytreerZinstall_namespacesr r r rrun!s  zinstall_egg_info.runcCs|jSr )rr r r r get_outputs.szinstall_egg_info.get_outputscs fdd}tjj|dS)NcsDdD] }||sd||krdSqj|td|||S)N)z.svn/zCVS//r ) startswithrappendrdebug)srcdstskipr r rskimmer3s  z*install_egg_info.copytree..skimmer)rrr)r r3r r rr)1s zinstall_egg_info.copytreeN) __name__ __module__ __qualname____doc__ description user_optionsrrr*r+r)r r r rr s  r) distutilsrrr setuptoolsrrZsetuptools.archive_utilrrZ Installerrr r r rs