AlkantarClanX12

Your IP : 18.217.4.250


Current Path : /opt/alt/python37/lib/python3.7/site-packages/setuptools/command/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/setuptools/command/__pycache__/alias.cpython-37.pyc

B

��ReM	�@sDddlmZddlmZmZmZdd�ZGdd�de�Zdd�Zd	S)
�)�DistutilsOptionError)�edit_config�option_base�config_filecCs8xdD]}||krt|�SqW|��|gkr4t|�S|S)z4Quote an argument for later parsing by shlex.split())�"�'�\�#)�repr�split)�arg�c�r��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/command/alias.py�shquotes
rc@sHeZdZdZdZdZdgejZejdgZdd�Z	dd	�Z
d
d�ZdS)
�aliasz3Define a shortcut that invokes one or more commandsz0define a shortcut to invoke one or more commandsT)�remove�rzremove (unset) the aliasrcCst�|�d|_d|_dS)N)r�initialize_options�argsr)�selfrrrrs
zalias.initialize_optionscCs*t�|�|jr&t|j�dkr&td��dS)N�zFMust specify exactly one argument (the alias name) when using --remove)r�finalize_optionsr�lenrr)rrrrr!s
zalias.finalize_optionscCs�|j�d�}|jsDtd�td�x|D]}tdt||��q(WdSt|j�dkr�|j\}|jrfd}q�||kr�tdt||��dStd|�dSn$|jd}d�tt	|jdd���}t
|jd||ii|j�dS)	N�aliaseszCommand Aliasesz---------------zsetup.py aliasrz No alias definition found for %rr� )
�distribution�get_option_dictr�print�format_aliasrr�join�maprr�filename�dry_run)rrr�commandrrr�run)s&

z	alias.runN)�__name__�
__module__�__qualname__�__doc__�descriptionZcommand_consumes_argumentsr�user_options�boolean_optionsrrr%rrrrrsrcCsZ||\}}|td�krd}n,|td�kr0d}n|td�krBd}nd|}||d|S)	N�globalz--global-config �userz--user-config �local�z
--filename=%rr)r)�namer�sourcer$rrrrDsrN)	�distutils.errorsrZsetuptools.command.setoptrrrrrrrrrr�<module>s
4