b-Qc @sddkZddkZddklZddklZddklZddkTddkl Z l Z l Z dZ de fd YZ d ZdS( iN(tCommand(t convert_path(tlog(t*(t edit_configt option_baset config_filecCsNx&dD]}||jo t|SqW|i|gjo t|S|S(s4Quote an argument for later parsing by shlex.split()t"t's\t#(RRs\R (treprtsplit(targtc((s>/usr/lib/python2.6/vendor-packages/setuptools/command/alias.pytshquotes  taliascBsUeZdZdZeZdgeiZeidgZdZ dZ dZ RS( s3Define a shortcut that invokes one or more commandss0define a shortcut to invoke one or more commandstremovetrsremove (unset) the aliascCs#ti|d|_d|_dS(N(Rtinitialize_optionstNonetargsR(tself((s>/usr/lib/python2.6/vendor-packages/setuptools/command/alias.pyRs  cCsAti||io&t|idjotdndS(NisFMust specify exactly one argument (the alias name) when using --remove(Rtfinalize_optionsRtlenRtDistutilsOptionError(R((s>/usr/lib/python2.6/vendor-packages/setuptools/command/alias.pyR"s  cCs|iid}|ip4dGHdGHx"|D]}dt||fGHq-WdSt|idjoW|i\}|io d}q||jodt||fGHdSd|GHdSn-|id}ditt |id}t |i hh||6d6|i dS( NtaliasessCommand Aliasess---------------ssetup.py aliasis No alias definition found for %rit ( t distributiontget_option_dictRt format_aliasRRRtjointmapRRtfilenametdry_run(RRRtcommand((s>/usr/lib/python2.6/vendor-packages/setuptools/command/alias.pytrun*s(       (sremoveRsremove (unset) the alias( t__name__t __module__t__doc__t descriptiontTruetcommand_consumes_argumentsRt user_optionstboolean_optionsRRR#(((s>/usr/lib/python2.6/vendor-packages/setuptools/command/alias.pyRs   cCs||\}}|tdjo d}nE|tdjo d}n(|tdjo d}n d|}||d|S( Ntglobals--global-config tusers--user-config tlocalts --filename=%rR(R(tnameRtsourceR"((s>/usr/lib/python2.6/vendor-packages/setuptools/command/alias.pyREs    (t distutilstost setuptoolsRtdistutils.utilRRtdistutils.errorstsetuptools.command.setoptRRRRRR(((s>/usr/lib/python2.6/vendor-packages/setuptools/command/alias.pyts  4