Viewing File: /opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__/py36compat.cpython-35.pyc
\K @ 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 | rt | | t |
n5 | d k rt | | t |
n t | | |
Wqt k
rB}
z t |
WYd d }
~
XqXqWd S)Nr )ConfigParserzinstall-basezinstall-platbasezinstall-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptszinstall-dataprefixzexec-prefixhomeuserrootz"Distribution.parse_config_files():Z
interpolationz reading %s__name__-_globalverbosedry_run)r r )configparserr sysr base_prefix frozensetZfind_config_filesr ZannouncereadZsectionsoptionsZget_option_dictgetreplace__init__Zcommand_optionsitemsZnegative_optsetattrr
ValueErrorr )self filenamesr Zignore_optionsparserfilenameZsectionr Zopt_dictoptvalsrcaliasmsg r&