3
Ó5^’  ã               @   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„ ZdS )Úsaveoptsz#Save command-line options to a filez7save supplied options to setup.cfg or other config filec             C   sp   | j }i }xP|jD ]F}|dkr qx6|j|ƒjƒ D ]$\}\}}|dkr0||j|i ƒ|< q0W qW t| j|| jƒ d S )Nr   zcommand line)ÚdistributionÚcommand_optionsÚget_option_dictÚitemsÚ
setdefaultr   ÚfilenameÚdry_run)ÚselfÚdistZsettingsÚcmdÚoptÚsrcÚval© r   úM/home/birch/.local/lib/python3.6/site-packages/setuptools/command/saveopts.pyÚrun	   s    zsaveopts.runN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údescriptionr   r   r   r   r   r      s   r   N)Zsetuptools.command.setoptr   r   r   r   r   r   r   Ú<module>   s   