ó
.żWc           @   s0   d  d l  m Z m Z d e f d     YZ d S(   i˙˙˙˙(   t   edit_configt   option_baset   saveoptsc           B   s   e  Z d  Z d Z d   Z RS(   s#   Save command-line options to a files7   save 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   s   command line(   t   distributiont   command_optionst   get_option_dictt   itemst
   setdefaultR    t   filenamet   dry_run(   t   selft   distt   settingst   cmdt   optt   srct   val(    (    s?   /tmp/pip-build-Q3rTTP/setuptools/setuptools/command/saveopts.pyt   run	   s    	(!(   t   __name__t
   __module__t   __doc__t   descriptionR   (    (    (    s?   /tmp/pip-build-Q3rTTP/setuptools/setuptools/command/saveopts.pyR      s   N(   t   setuptools.command.setoptR    R   R   (    (    (    s?   /tmp/pip-build-Q3rTTP/setuptools/setuptools/command/saveopts.pyt   <module>   s   