Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/setuptools/command/alias.pyc
�
�fc@shddlmZddlmZddlmZmZmZd�Zdefd��YZ d�Z
dS( i����(tDistutilsOptionError(tmap(tedit_configtoption_basetconfig_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�ZRS( 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\}|jr�d}q�||kr�dt||�fGHdSd|GHdSn,|jd}djtt |jd��}t
|jii||6d6|j�dS( NtaliasessCommand Aliasess---------------ssetup.py aliasis No alias definition found for %rit (
tdistributiontget_option_dictRtformat_aliasRRRtjoinRRRtfilenametdry_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__tdescriptiontTruetcommand_consumes_argumentsRtuser_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.setoptRRRRR
R(((s</usr/lib/python2.7/site-packages/setuptools/command/alias.pyt<module>s
4