3
^                 @   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distsettingscmdoptsrcval r   A/tmp/pip-build-ao6tmhm0/setuptools/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   