관리-도구
편집 파일: py36compat.cpython-35.pyc
�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():� interpolationz reading %s�__name__�-�_�global�verbose�dry_run)r r )�configparserr �sysr �base_prefix� frozenset�find_config_filesr �announce�read�sections�options�get_option_dict�get�replace�__init__�command_options�items�negative_opt�setattrr � ValueErrorr )�self� filenamesr �ignore_options�parser�filename�sectionr �opt_dict�opt�val�src�alias�msg� r0 ��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/py36compat.py�parse_config_files sJ &z2Distribution_parse_config_files.parse_config_files)r � __module__�__qualname__�__doc__r2 r0 r0 r0 r1 r s r � c @ s e Z d Z d S)r N)r r3 r4 r0 r0 r0 r1 r J s )r6 ) r �distutils.errorsr �distutils.utilr �distutils.debugr r �version_infor0 r0 r0 r1 �<module> s A