Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
setuptools
/
__pycache__
/
File Content:
py36compat.cpython-35.pyc
i�ReK � @ su d d l Z d d l m Z d d l m Z d d l m Z Gd d � d � Z e j d k rq Gd d � d � Z d S) � N)�DistutilsOptionError)� strtobool)�DEBUGc @ s% e Z d Z d Z d d d � Z d S)�Distribution_parse_config_filesz� Mix-in providing forward-compatibility for functionality to be included by default on Python 3.7. Do not edit the code in this class except to update functionality as implemented in distutils. Nc C sK d d l m } t j t j k rR d d d d d d d d d d d d d g } n g } t | � } | d k r| | j � } t r� | j d � | d d � } x� | D]� } t r� | j d | � | j | � x� | j � D]� } | j | � } | j | � } xZ | D]R } | d k r| | k r| j | | � } | j d d � } | | f | | <qWq� W| j � q� Wd | j k rGx� | j d j � D]� \ } \ } } | j j | � } yY | r�t | | t | � � n5 | d k r�t | | t | � � n t | | | � Wq�t k rB} z t | � � WYd d } ~ Xq�Xq�Wd S)Nr )�ConfigParserzinstall-basezinstall-platbasezinstall-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptszinstall-data�prefixzexec-prefix�home�user�rootz"Distribution.parse_config_files():Z interpolationz reading %s�__name__�-�_�global�verbose�dry_run)r r )�configparserr �sysr �base_prefix� frozensetZfind_config_filesr Zannounce�readZsections�optionsZget_option_dict�get�replace�__init__Zcommand_options�itemsZnegative_opt�setattrr � ValueErrorr )�self� filenamesr Zignore_options�parser�filenameZsectionr Zopt_dict�opt�val�src�alias�msg� r&