ó
ÓnùWc           @   sX   d  d l  Z  d  d l Z d  d l m Z d  d l m Z m Z d e f d „  ƒ  YZ d S(   iÿÿÿÿN(   t   Command(   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(    (    sB   /var/www/html/venv/build/setuptools/setuptools/command/saveopts.pyt   run
   s    	(!(   t   __name__t
   __module__t   __doc__t   descriptionR   (    (    (    sB   /var/www/html/venv/build/setuptools/setuptools/command/saveopts.pyR      s   (   t	   distutilst   ost
   setuptoolsR    t   setuptools.command.setoptR   R   R   (    (    (    sB   /var/www/html/venv/build/setuptools/setuptools/command/saveopts.pyt   <module>   s   