B ¶8“ú’ž0ã @ sD d dl mZ d dlmZmZmZ dd„ ZG dd„ deƒZdd„ Zd S ) é )ÚDistutilsOptionError)Úedit_configÚoption_baseÚconfig_filec C s8 xdD ]}|| krt | ƒS qW | ¡ | 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.el9.x86_64/opt/alt/python37/lib/python3.7/site-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 | ¡ | jr&t| jƒdkr&tdƒ‚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¡}| jsDtdƒ tdƒ x|D ]}tdt||ƒƒ q(W d S t| jƒdkr”| j\}| jrfd }q¸||kr‚tdt||ƒƒ d S td| ƒ d S n$| 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&