_dO FddlmZddlmZmZmZdZGddeZdZy))DistutilsOptionError) edit_config option_base config_filectdD]}||vst|cS|j|gk7r t|S|S)z4Quote an argument for later parsing by shlex.split())"'\#)reprsplit)argcs :/usr/lib/python3/dist-packages/setuptools/command/alias.pyshquotersC  89  yy{seCy JcjeZdZdZdZdZdgejzZejdgzZdZ dZ dZ y ) aliasz3Define a shortcut that invokes one or more commandsz0define a shortcut to invoke one or more commandsT)removerzremove (unset) the aliasrcJtj|d|_d|_y)N)rinitialize_optionsargsrselfs rrzalias.initialize_optionss&&t,  rctj||jr$t|jdk7r t dyy)NzFMust specify exactly one argument (the alias name) when using --remove)rfinalize_optionsrlenrrrs rrzalias.finalize_options!s?$$T* ;;3tyy>Q.&! /;rc8|jjd}|js4tdtd|D]}tdt ||yt |jdk(rG|j\}|j rd}ne||vrtdt ||ytd|zy|jd}djtt|jdd}t|jd||ii|jy) NaliaseszCommand Aliasesz---------------zsetup.py aliasrz No alias definition found for %rr ) distributionget_option_dictrprint format_aliasrrjoinmaprrfilenamedry_run)rr!rcommands rrunz alias.run)s##33I>yy # $ # $  F& UG(DE F  ^q yyHU{{'!& UG(DE85@AIIaLEhhs7DIIabM:;GDMMIw/?#@$,,OrN) __name__ __module__ __qualname____doc__ descriptioncommand_consumes_argumentsr user_optionsboolean_optionsrrr,rrrrsN=DK!% 4  !L"11XJ>O Prrc||\}}|tdk(rd}n'|tdk(rd}n|tdk(rd}nd|z}||zdz|zS) Nglobalz--global-config userz--user-config localz --filename=%rr")r)namer!sourcer+s rr&r&DscdmOFG X&&# ;v& &! ;w' ' 6) D=3  ((rN) distutils.errorsrsetuptools.command.setoptrrrrrr&r5rrr?s'1KK1PK1Ph )r