ó ž­çSc@sXddlmZddlmZmZmZd„Zdefd„ƒYZd„ZdS(iÿÿÿÿ(tDistutilsOptionError(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((sB/usr/local/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((sB/usr/local/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_optionsR tlenRR(R((sB/usr/local/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_aliasRR RtjointmapR Rtfilenametdry_run(RRR tcommand((sB/usr/local/lib/python2.7/site-packages/setuptools/command/alias.pytrun)s&        (sremoveRsremove (unset) the alias( t__name__t __module__t__doc__t descriptiontTruetcommand_consumes_argumentsRt user_optionstboolean_optionsRRR(((sB/usr/local/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((sB/usr/local/lib/python2.7/site-packages/setuptools/command/alias.pyRDs    N( tdistutils.errorsRtsetuptools.command.setoptRRRR R R(((sB/usr/local/lib/python2.7/site-packages/setuptools/command/alias.pyts 4