
|«‘_’  ã               @   s0   d  d l  m Z m Z Gd 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   sš   |  j  } i  } xn | j D]c } | d k r. q xK | j | ƒ j ƒ  D]4 \ } \ } } | d k rD | | j | i  ƒ | <qD Wq Wt |  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-3_sjtvrs/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   