%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core22/2082/lib/python3/dist-packages/setuptools/command/__pycache__/
Upload File :
Create Path :
Current File : //snap/core22/2082/lib/python3/dist-packages/setuptools/command/__pycache__/alias.cpython-310.pyc

o

�_�aM	�@sDddlmZddlmZmZmZdd�ZGdd�de�Zdd�Zd	S)
�)�DistutilsOptionError)�edit_config�option_base�config_filecCs8dD]}||vrt|�Sq|��|gkrt|�S|S)z4Quote an argument for later parsing by shlex.split())�"�'�\�#)�repr�split)�arg�c�r�:/usr/lib/python3/dist-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�|�|jrt|j�dkrtd��dSdS)N�zFMust specify exactly one argument (the alias name) when using --remove)r�finalize_optionsr�lenrrrrrrr!s
��zalias.finalize_optionscCs�|j�d�}|js td�td�|D]
}tdt||��qdSt|j�dkrG|j\}|jr1d}n(||vr?tdt||��dStd|�dS|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__�description�command_consumes_argumentsr�user_options�boolean_optionsrrr&rrrrrs��rcCsZ||\}}|td�krd}n|td�krd}n
|td�kr!d}nd|}||d|S)	N�globalz--global-config �userz--user-config �local�z
--filename=%rr)r)�namer�sourcer%rrrr Dsr N)	�distutils.errorsr�setuptools.command.setoptrrrrrr rrrr�<module>s

4

Zerion Mini Shell 1.0