| Server IP : 216.107.137.15 / Your IP : 216.73.216.24 Web Server : LiteSpeed System : Linux srv877165910.host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : batas6485 ( 1035) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/setuptools/command/__pycache__/ |
Upload File : |
o
�_�aM � @ sD d dl mZ d dlmZmZmZ dd� ZG dd� de�Zdd� Zd S )
� )�DistutilsOptionError)�edit_config�option_base�config_filec C s8 dD ]}|| v rt | � S q| �� | 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�shquote s �r c @ sH e Zd ZdZdZdZdgej Zejdg Zdd� Z dd � Z
d
d� ZdS )
�aliasz3Define a shortcut that invokes one or more commandsz0define a shortcut to invoke one or more commandsT)�remove�rzremove (unset) the aliasr c C s t �| � d | _d | _d S )N)r �initialize_options�argsr ��selfr r r r s
zalias.initialize_optionsc C s. t �| � | jrt| j�dkrtd��d S d S )N� zFMust specify exactly one argument (the alias name) when using --remove)r �finalize_optionsr �lenr r r r r r r ! s
��zalias.finalize_optionsc C s� | j �d�}| js td� td� |D ]
}tdt||�� qd S t| j�dkrG| j\}| jr1d }n(||v r?tdt||�� d S td| � d S | jd }d�tt | jdd � ��}t
| jd||ii| j� d S ) N�aliaseszCommand Aliasesz---------------zsetup.py aliasr z No alias definition found for %rr � )
�distribution�get_option_dictr �print�format_aliasr r �join�mapr r �filename�dry_run)r r r �commandr r r �run) s&