Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.112.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : alias.cpython-34.pyc
�
M�Re�	�@s�ddlZddlZddlmZddlmZddlmZddlTddlm	Z	m
Z
mZdd�ZGd	d
�d
e
�Z
dd�ZdS)
�N)�Command)�convert_path)�log)�*)�edit_config�option_base�config_filecCsJx$dD]}||krt|�SqW|j�|gkrFt|�S|S)z4Quote an argument for later parsing by shlex.split()�"�'�\�#)r	r
rr)�repr�split)�arg�c�r�3/tmp/pip-l4uy7dan-build/setuptools/command/alias.py�shquotes

rc@sfeZdZdZdZdZdgejZejdgZdd�Z	d	d
�Z
dd�Zd
S)�aliasz3Define a shortcut that invokes one or more commandsz0define a shortcut to invoke one or more commandsT�remove�r�remove (unset) the aliascCs#tj|�d|_d|_dS)N)r�initialize_options�argsr)�selfrrrrs
	zalias.initialize_optionscCs>tj|�|jr:t|j�dkr:td��ndS)N�zFMust specify exactly one argument (the alias name) when using --remove)r�finalize_optionsr�lenr�DistutilsOptionError)rrrrr"s
zalias.finalize_optionscCs"|jjd�}|jsZtd�td�x$|D]}tdt||��q6WdSt|j�dkr�|j\}|jr�d}q�||kr�tdt||��dStd|�dSn2|jd}djtt	|jdd���}t
|jii||6d6|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)zremoverr)�__name__�
__module__�__qualname__�__doc__�descriptionZcommand_consumes_argumentsr�user_options�boolean_optionsrrr*rrrrrs
rcCs{||\}}|td�kr+d}n@|td�krFd}n%|td�krad}n
d|}||d|S)	N�globalz--global-config �userz--user-config �local�z
--filename=%rr )r)�namer�sourcer)rrrr$Es			
r$)�	distutils�os�
setuptoolsr�distutils.utilrr�distutils.errorsZsetuptools.command.setoptrrrrrr$rrrr�<module>s
	4
© 2025 XylotrechusZ