Current Dir: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command/__pycache__/
[FILE] alias.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_egg.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_rpm.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_clib.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_ext.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_py.cpython-310.pyc [ edit | delete | rename ]
[FILE] develop.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] easy_install.cpython-310.pyc [ edit | delete | rename ]
[FILE] egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_lib.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_scripts.cpython-310.pyc [ edit | delete | rename ]
[FILE] py36compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] register.cpython-310.pyc [ edit | delete | rename ]
[FILE] rotate.cpython-310.pyc [ edit | delete | rename ]
[FILE] saveopts.cpython-310.pyc [ edit | delete | rename ]
[FILE] sdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] setopt.cpython-310.pyc [ edit | delete | rename ]
[FILE] test.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload_docs.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command/__pycache__/alias.cpython-310.pyc
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&