î
É XÁ  ã               @   sX   d  d l  Z  d  d l Z d  d l m Z d  d l m Z m Z Gd d „  d e ƒ Z d S)é    N)ÚCommand)Ú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  } xt | j D]i } | d k r1 q n  xN | j | ƒ j ƒ  D]7 \ } \ } } | d k rG | | j | i  ƒ | <qG qG Wq Wt |  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/ubuntu/projects/ifolica/build/setuptools/setuptools/command/saveopts.pyÚrun
   s    	(!zsaveopts.runN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údescriptionr   r   r   r   r   r      s   r   )Ú	distutilsÚosÚ
setuptoolsr   Zsetuptools.command.setoptr   r   r   r   r   r   r   Ú<module>   s   