Your IP : 18.225.117.89


Current Path : /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib/python3.3/site-packages/setuptools/command/__pycache__/alias.cpython-33.pyc

�
�Re�	c@s�ddlZddlZddlmZddlmZddlmZddlTddlm	Z	m
Z
mZdd�ZGd	d
�d
e
�Z
dd�ZdS(
iN(uCommand(uconvert_path(ulog(u*(uedit_configuoption_baseuconfig_filecCsJx$dD]}||krt|�SqW|j�|gkrFt|�S|S(u4Quote an argument for later parsing by shlex.split()u"u'u\u#(u"u'u\u#(ureprusplit(uarguc((u1/tmp/pip-k8wh6o-build/setuptools/command/alias.pyushquotes

ushquotecBsj|EeZdZdZdZd
ZdgejZej	dgZ	dd�Z
dd	�Zd
d�ZdS(ualiasu3Define a shortcut that invokes one or more commandsu0define a shortcut to invoke one or more commandsuremoveururemove (unset) the aliascCs#tj|�d|_d|_dS(N(uoption_baseuinitialize_optionsuNoneuargsuremove(uself((u1/tmp/pip-k8wh6o-build/setuptools/command/alias.pyuinitialize_optionss
	ualias.initialize_optionscCs>tj|�|jr:t|j�dkr:td��ndS(NiuFMust specify exactly one argument (the alias name) when using --remove(uoption_baseufinalize_optionsuremoveulenuargsuDistutilsOptionError(uself((u1/tmp/pip-k8wh6o-build/setuptools/command/alias.pyufinalize_options"s
ualias.finalize_optionscCs"|jjd�}|jsZtd�td�x$|D]}tdt||��q6WdSt|j�dkr�|j\}|jr�d}q�||kr�tdt||��dStd|�dSn2|jd}djt	t
|jdd���}t|jii||6d6|j
�dS(	NualiasesuCommand Aliasesu---------------usetup.py aliasiu No alias definition found for %riu (udistributionuget_option_dictuargsuprintuformat_aliasulenuremoveuNoneujoinumapushquoteuedit_configufilenameudry_run(uselfualiasesualiasucommand((u1/tmp/pip-k8wh6o-build/setuptools/command/alias.pyurun*s&	


		
%u	alias.runNT(uremoveururemove (unset) the alias(
u__name__u
__module__u__qualname__u__doc__udescriptionuTrueucommand_consumes_argumentsuoption_baseuuser_optionsuboolean_optionsuinitialize_optionsufinalize_optionsurun(u
__locals__((u1/tmp/pip-k8wh6o-build/setuptools/command/alias.pyualiass
ualiascCs{||\}}|td�kr+d}n@|td�krFd}n%|td�krad}n
d|}||d|S(	Nuglobalu--global-config uuseru--user-config ulocaluu
--filename=%ru (uconfig_file(unameualiasesusourceucommand((u1/tmp/pip-k8wh6o-build/setuptools/command/alias.pyuformat_aliasEs			
uformat_alias(u	distutilsuosu
setuptoolsuCommandudistutils.utiluconvert_pathulogudistutils.errorsusetuptools.command.setoptuedit_configuoption_baseuconfig_fileushquoteualiasuformat_alias(((u1/tmp/pip-k8wh6o-build/setuptools/command/alias.pyu<module>s
	4

?>