o
    wÖi¦  ã                   @   s$   d dl mZmZ G dd„ deƒZdS )é    )Úedit_configÚoption_basec                   @   s   e Zd ZdZdZddd„ZdS )Úsaveoptsz#Save command-line options to a filez7save supplied options to setup.cfg or other config fileÚreturnNc                 C   sd   | j }i }|jD ]!}|dkrq| |¡ ¡ D ]\}\}}|dkr(|| |i ¡|< qqt| j|ƒ d S )Nr   zcommand line)ÚdistributionÚcommand_optionsÚget_option_dictÚitemsÚ
setdefaultr   Úfilename)ÚselfÚdistÚsettingsÚcmdÚoptÚsrcÚval© r   úX/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/setuptools/command/saveopts.pyÚrun	   s   
€þzsaveopts.run)r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údescriptionr   r   r   r   r   r      s    r   N)Úsetuptools.command.setoptr   r   r   r   r   r   r   Ú<module>   s    