ó Àfc@shddlmZddlmZddlmZmZmZd„Zdefd„ƒYZ d„Z dS( iÿÿÿÿ(tDistutilsOptionError(tmap(t edit_configt option_baset config_filecCsJx$dD]}||krt|ƒSqW|jƒ|gkrFt|ƒS|S(s4Quote an argument for later parsing by shlex.split()t"t's\t#(RRs\R(treprtsplit(targtc((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pytshquotes    taliascBsUeZdZdZeZdgejZejdgZd„Z d„Z d„Z RS( s3Define a shortcut that invokes one or more commandss0define a shortcut to invoke one or more commandstremovetrsremove (unset) the aliascCs#tj|ƒd|_d|_dS(N(Rtinitialize_optionstNonetargsR(tself((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pyRs  cCs>tj|ƒ|jr:t|jƒdkr:tdƒ‚ndS(NisFMust specify exactly one argument (the alias name) when using --remove(Rtfinalize_optionsRtlenRR(R((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pyR#s cCs |jjdƒ}|jsNdGHdGHx"|D]}dt||ƒfGHq,WdSt|jƒdkrµ|j\}|jrd}qá||kr¥dt||ƒfGHdSd|GHdSn,|jd}djtt |jdƒƒ}t |j ii||6d6|j ƒdS( NtaliasessCommand Aliasess---------------ssetup.py aliasis No alias definition found for %rit ( t distributiontget_option_dictRt format_aliasRRRtjoinRR Rtfilenametdry_run(RRR tcommand((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pytrun+s&        (RRsremove (unset) the alias( t__name__t __module__t__doc__t descriptiontTruetcommand_consumes_argumentsRt user_optionstboolean_optionsRRR(((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pyR s   cCs{||\}}|tdƒkr+d}n@|tdƒkrFd}n%|tdƒkrad}n d|}||d|S( Ntglobals--global-config tusers--user-config tlocalts --filename=%rR(R(tnameRtsourceR((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pyRFs    N( tdistutils.errorsRtsetuptools.extern.six.movesRtsetuptools.command.setoptRRRR R R(((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pyts  4