| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python27/Lib/site-packages/setuptools/ |
Upload File : |
�
Ps$gc @@ sJ d d l m Z m Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m
Z
d d l m Z d d l m
Z
d d l m Z m Z d d l m Z m Z d d l m Z m Z e Z e e d
� Z d � Z d � Z e d
� Z d f d � � YZ d e f d � � YZ d e f d � � YZ d S( i ( t absolute_importt unicode_literalsN( t defaultdict( t partial( t wraps( t
import_module( t DistutilsOptionErrort DistutilsFileError( t
LegacyVersiont parse( t string_typest PY3c C@ s� d d l m } m } t j j | � } t j j | � sM t d | � � n t j � } t j t j j
| � � zl | � } | r� | j � n g } | | k r� | j | � n | j
| d | �t | | j d | �} Wd t j | � Xt | � S( u, Read given configuration file and returns options from it as a dict.
:param str|unicode filepath: Path to configuration file
to get options from.
:param bool find_others: Whether to search for other configuration files
which could be on in various places.
:param bool ignore_option_errors: Whether to silently ignore
options, values of which could not be resolved (e.g. due to exceptions
in directives such as file:, attr:, etc.).
If False exceptions are propagated as expected.
:rtype: dict
i ( t Distributiont
_Distributionu% Configuration file %s does not exist.t filenamest ignore_option_errorsN( t setuptools.distR R
t ost patht abspatht isfileR t getcwdt chdirt dirnamet find_config_filest appendt parse_config_filest parse_configurationt command_optionst configuration_to_dict( t filepatht find_othersR R R
t current_directoryt distR t handlers( ( sW c:\users\admini~1\appdata\local\temp\pip-install-lymszv\setuptools\setuptools\config.pyt read_configuration s$
c C@ s@ d j t � � } t j t | | � } t | | | � } | � S( u�
Given a target object and option key, get that option from
the target object, either through a get_{key} method or
from an attribute directly.
u get_{key}( t formatt localst functoolsR t getattr( t
target_objt keyt getter_namet by_attributet getter( ( sW c:\users\admini~1\appdata\local\temp\pip-install-lymszv\setuptools\setuptools\config.pyt _get_optionD s c C@ sX t t � } xE | D]= } x4 | j D]) } t | j | � } | | | j | <q# Wq W| S( u� Returns configuration data gathered by given handlers as a dict.
:param list[ConfigHandler] handlers: Handlers list,
usually from parse_configuration()
:rtype: dict
( R t dictt set_optionsR- R( t section_prefix( R"