
    ,hg                    `   U d Z ddlmZ ddlZddlZddl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mZmZmZmZ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 ddl m!Z! ddl"m#Z#m$Z$ ddl%m&Z& ddlm'Z' erddl(m)Z) ddl*m+Z+ ddl,m-Z- e.e/e0e/ef   f   Z1de2d<   	 e.e/e1f   Z3de2d<   	  eddd      Z4	 d,	 	 	 	 	 	 	 d-dZ5d.dZ6	 	 d/	 	 	 	 	 	 	 	 	 d0dZ7d1dZ8	 	 	 	 d2dZ9	 d3	 	 	 	 	 	 	 d4d Z:d5d!Z; G d" d#ee4         Z< G d$ d%e<d         Z= G d& d'e<d         Z> G d( d)e&      Z? G d* d+e&      Z@y)6a<  
Load setuptools configuration from ``setup.cfg`` files.

**API will be made private in the future**

To read project metadata, consider using
``build.util.project_wheel_metadata`` (https://pypi.org/project/build/).
For simple scenarios, you can also try parsing the file directly
with the help of ``configparser``.
    )annotationsN)defaultdict)IterableIterator)partialwraps)TYPE_CHECKINGAnyCallableClassVarGenericTypeVarcast)default_environment)InvalidRequirementRequirement)InvalidVersionVersion   )_static)StrPath)	FileErrorOptionError)SetuptoolsDeprecationWarning   )expand)	TypeAliasDistribution)DistributionMetadatar   SingleCommandOptionsAllCommandOptionsTargetr   r    c                v    ddl m}  |       }|r|j                         ng }t        || ||      }t	        |      S )a,  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
    r   r   )setuptools.distr   find_config_files_applyconfiguration_to_dict)filepathfind_othersignore_option_errorsr   dist	filenameshandlerss          \/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/setuptools/config/setupcfg.pyread_configurationr0   2   s<    $ ->D,7&&(RIdHi1EFH **    c                >    t        | |       | j                          | S )z`Apply the configuration from a ``setup.cfg`` file into an existing
    distribution object.
    )r'   _finalize_requires)r,   r)   s     r/   apply_configurationr4   L   s     4Kr1   c                D   ddl m} t        j                  j	                  |      }t        j                  j                  |      st        d| d      t        j                         }t        j                  t        j                  j                  |             g ||}	 |j                  | t        t        t           |             t        | | j                  |      }| j!                          t        j                  |       |S # t        j                  |       w xY w)zHRead configuration from ``filepath`` and applies to the ``dist`` object.r   )_DistributionzConfiguration file z does not exist.)r-   )r+   )r%   r6   ospathabspathisfiler   getcwdchdirdirnameparse_config_filesr   liststrparse_configurationcommand_options_finalize_license_files)r,   r)   other_filesr+   r6   current_directoryr-   r.   s           r/   r'   r'   U   s     .wwx(H77>>(#-hZ7GHII		HHRWW__X&'(+(x(I$((d3i9S(T&$&&=Q
 	$$&
"#O 	"#s   !AD Dc                j    d| }t        j                  t        | |      }t        | ||      } |       S )z
    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.
    get_)	functoolsr   getattr)
target_objkeygetter_nameby_attributegetters        r/   _get_optionrO   t   s8     ,K$$Wj#>LZl;F8Or1   c                    t        t              }| D ];  }|j                  D ]*  }t        |j                  |      }|||j
                     |<   , = |S )zReturns configuration data gathered by given handlers as a dict.

    :param Iterable[ConfigHandler] handlers: Handlers list,
        usually from parse_configuration()

    :rtype: dict
    )r   dictset_optionsrO   rJ   section_prefix)r.   config_dicthandleroptionvalues        r/   r(   r(      se     $D)K @)) 	@F 2 2F;E:?K../7	@@
 r1   c           	        t        j                  |       5 }t        | |||      }|j                          | j                  s|j                  | _        t        | j                  |||| j                  | j                        }|j                          | j                  j                  |j                  |j                         ddd       ||fS # 1 sw Y   fS xY w)a  Performs additional parsing of configuration options
    for a distribution.

    Returns a list of used option handlers.

    :param Distribution distribution:
    :param dict command_options:
    :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: list
    N)
r   EnsurePackagesDiscoveredConfigOptionsHandlerparsepackage_dirConfigMetadataHandlermetadatasrc_root_referenced_filesupdate)distributionrB   r+   ensure_discoveredoptionsmetas         r/   rA   rA      s    $ 
	(	(	6 
:K& 	
 	'''.':':L$$!! $$!!
 	

&&--%%t'='=	
+
2 =3
2 =s   B*CCc                l   d|v st              dk7  ryt               j                         }	 t        d         }|j                  |v rt
        j                  | d          yy# t        $ rD}t        fd|D              r&t
        j                  | d         }t        |      |Y d}~yd}~ww xY w)am  Because users sometimes misinterpret this configuration:

    [options.extras_require]
    foo = bar;python_version<"4"

    It looks like one requirement with an environment marker
    but because there is no newline, it's parsed as two requirements
    with a semicolon as separator.

    Therefore, if:
        * input string does not contain a newline AND
        * parsed result contains two requirements AND
        * parsing of the two parts from the result ("<first>;<second>")
        leads in a valid Requirement with a valid marker
    a UserWarning is shown to inform the user about the possible problem.
    
r   Nr   )fieldreqc              3  F   K   | ]  }d    j                  |        yw)r   N
startswith).0markerparseds     r/   	<genexpr>z8_warn_accidental_env_marker_misconfig.<locals>.<genexpr>   s      Bvay##F+Bs   !)
len
marker_envkeysr   name_AmbiguousMarkeremitr   anymessage)label
orig_valuero   markersri   exmsgs     `    r/   %_warn_accidental_env_marker_misconfigr~      s    " zS[A-l!G2&)$88w!!6!9!=  2B'BB"**F1I*FC$S)r1 C2s   6A& &	B3/:B..B3c                     e Zd ZU dZded<   	 i Zded<   	 	 	 	 	 	 	 	 	 ddZe	 	 	 	 dd       Ze	d        Z
dd	Zedd
       Zed        Zed        Zed        ZddZddZed        Zed        Zedd       ZddZddZd Zy)ConfigHandlerz1Handles metadata supplied in configuration files.r@   rS   zClassVar[dict[str, str]]aliasesc                    || _         || _        t        | j                  |            | _        g | _        || _        t        t                  | _	        y N)
r+   rJ   rQ   _section_optionssectionsrR   rc   setr@   r`   )selfrJ   rd   r+   rc   s        r/   __init__zConfigHandler.__init__   sM     %9!",T227;<&(!2!$S	r1   c              #     K   |j                         D ]<  \  }}|j                  | j                        \  }}}|r(|j                  d      |f > y w)N.)items	partitionrS   lstrip)clsrd   	full_namerW   pre_seprt   s          r/   r   zConfigHandler._section_options  sX      !( 	*Iu'11#2D2DEOCt++c"E))		*s   AAc                F    t        | j                  j                   d      ).Metadata item name to parser function mapping.z must provide .parsers property)NotImplementedError	__class____name__)r   s    r/   parserszConfigHandler.parsers  s'     "~~&&''FG
 	
r1   c                   | j                   }| j                  j                  ||      }	 t        ||      }|ry 	  | j                  j                  |d       |      }t        j                  |j                  |      }t        |d| |      } ||       | j                  j                  |       y # t        $ r}t        |      |d }~ww xY w# t        f| j                  z  $ r Y y w xY w)Nc                    | S r    )xs    r/   <lambda>z+ConfigHandler.__setitem__.<locals>.<lambda>&  s    Q r1   set_)rJ   r   getrI   AttributeErrorKeyErrorr   	Exceptionr+   rH   r   __setattr__rR   append)	r   option_namerW   rJ   current_valueero   simple_settersetters	            r/   __setitem__zConfigHandler.__setitem__  s    __
 ll&&{K@	/#J<M 	?T\\%%k;?FF "))**@*@+NtK=%9=Iv,!  	/;'Q.	/ |d777 		s(   B1 #C 1	C:CCC('C(c                    t        |t              r|S d|v r|j                         }n|j                  |      }|D cg c]#  }|j	                         s|j	                         % c}S c c}w )zRepresents value as a list.

        Value is split either by separator (defaults to comma) or by lines.

        :param value:
        :param separator: List items separator character.
        :rtype: list
        rg   )
isinstancer?   
splitlinessplitstrip)r   rW   	separatorchunks       r/   _parse_listzConfigHandler._parse_list0  sX     eT"L5=$$&EKK	*E+0B%EKKMBBBs   A(A(c                    d}i }| j                  |      D ]K  }|j                  |      \  }}}||k7  rt        d|       |j                         ||j                         <   M |S )zPRepresents value as a dict.

        :param value:
        :rtype: dict
        =z&Unable to parse option value to dict: )r   r   r   r   )r   rW   r   resultlinerK   sepvals           r/   _parse_dictzConfigHandler._parse_dictD  sr     	OOE* 	.D NN95MCci!$J5'"RSS"%))+F399;		. r1   c                *    |j                         }|dv S )zQRepresents value as boolean.

        :param value:
        :rtype: bool
        )1trueyes)lowerr   rW   s     r/   _parse_boolzConfigHandler._parse_boolU  s     ,,,r1   c                    fd}|S )zReturns a parser function to make sure field inputs
        are not files.

        Parses a value after getting the key so error messages are
        more informative.

        :param key:
        :rtype: callable
        c                r    d}| j                  |      rt        d d      t        j                  |       S )Nfile:z"Only strings are accepted for the z field, files are not accepted)rl   
ValueErrorr   Str)rW   exclude_directiverK   s     r/   parserz3ConfigHandler._exclude_files_parser.<locals>.parserk  sG     ' 12 8 >- -  ;;u%%r1   r   )r   rK   r   s    ` r/   _exclude_files_parserz#ConfigHandler._exclude_files_parser_  s    	& r1   c                |   d}t        |t              s|S |j                  |      st        j                  |      S |t        |      d }|j                  d      D cg c]  }|j                          }}| j                  j                  |       t        j                  t        j                  ||            S c c}w )aO  Represents value as a string, allowing including text
        from nearest files using `file:` directive.

        Directive is sandboxed and won't reach anything outside
        directory with setup.py.

        Examples:
            file: README.rst, CHANGELOG.md, src/file.txt

        :param str value:
        :rtype: str
        r   N,)r   r@   rl   r   r   rq   r   r   r`   ra   r   
read_files)r   rW   root_dirinclude_directivespecr8   	filepathss          r/   _parse_filezConfigHandler._parse_filev  s     $%%L 12;;u%%S*+-..2jjo>dTZZ\>	>%%i0{{6,,YABB ?s   B9c                    d}|j                  |      st        j                  |      S |j                  |d      }|j	                  | j
                  j                         t        j                  |||      S )zRepresents value as a module attribute.

        Examples:
            attr: package.attr
            attr: package.module.attr

        :param str value:
        :rtype: str
        zattr: )	rl   r   r   replacera   rc   r\   r   	read_attr)r   rW   r\   r   attr_directive	attr_descs         r/   _parse_attrzConfigHandler._parse_attr  sg     !/;;u%%MM."5	 	411==>	;AAr1   c                    fd}|S )zReturns parser function to represents value as a list.

        Parses a value applying given methods one after another.

        :param parse_methods:
        :rtype: callable
        c                *    | }D ]
  } ||      } |S r   r   )rW   ro   methodparse_methodss      r/   r[   z1ConfigHandler._get_parser_compound.<locals>.parse  s'    F' (( Mr1   r   )r   r   r[   s    ` r/   _get_parser_compoundz"ConfigHandler._get_parser_compound  s    	 r1   c                X    i }|j                         D ]  \  }\  }} |||      ||<    |S )a  Parses section options into a dictionary.

        Applies a given parser to each option in a section.

        :param dict section_options:
        :param callable values_parser: function with 2 args corresponding to key, value
        :rtype: dict
        )r   )r   section_optionsvalues_parserrW   rK   _r   s          r/   _parse_section_to_dict_with_keyz-ConfigHandler._parse_section_to_dict_with_key  s>     ,224 	1MC!S&sC0E#J	1r1   Nc                <    rfdnd }| j                  ||      S )a   Parses section options into a dictionary.

        Optionally applies a given parser to each value.

        :param dict section_options:
        :param callable values_parser: function with 1 arg corresponding to option value
        :rtype: dict
        c                     |      S r   r   )r   vr   s     r/   r   z6ConfigHandler._parse_section_to_dict.<locals>.<lambda>  s    }Q/ r1   c                    |S r   r   )r   r   s     r/   r   z6ConfigHandler._parse_section_to_dict.<locals>.<lambda>  s    UV r1   )r   )r   r   r   r   s     ` r/   _parse_section_to_dictz$ConfigHandler._parse_section_to_dict  s#     5B/22?FKKr1   c                    |j                         D ]/  \  }\  }}t        j                  t              5  || |<   ddd       1 y# 1 sw Y   <xY w)zQParses configuration file section.

        :param dict section_options:
        N)r   
contextlibsuppressr   )r   r   rt   r   rW   s        r/   parse_sectionzConfigHandler.parse_section  sV    
 !0 5 5 7 	#D*1e$$X. #"T
# #	## #s   AA	c                    | j                   j                         D ]T  \  }}d}|rd| }t        | d| j                  dd      d      }|t	        d| j
                   d| d       ||       V y)	zTParses configuration file items from one
        or more related sections.

        r   r   r   r   __Nz*Unsupported distribution option section: [])r   r   rI   r   r   rS   )r   section_namer   method_postfixsection_parser_methods        r/   r[   zConfigHandler.parse  s    
 .2]]-@-@-B 	3)L/N#$\N!35</088dC	6! %,!++,Al^1> 
 "/2%	3r1   c                6    t              fd       }|S )zthis function will wrap around parameters that are deprecated

        :param msg: deprecation message
        :param func: function to be wrapped around
        c                 f    j                  dd       t        j                  dfi   | i |S )N
stacklevelr   z Deprecated config in `setup.cfg`)
setdefault_DeprecatedConfigrv   )argskwargsfunckwr}   s     r/   config_handlerz@ConfigHandler._deprecated_config_handler.<locals>.config_handler  s7    MM,*""#EsQbQ(((r1   )r   )r   r   r}   r   r   s    ``` r/   _deprecated_config_handlerz(ConfigHandler._deprecated_config_handler  s#     
t	) 
	)
 r1   )rJ   r#   rd   r"   rc   expand.EnsurePackagesDiscoveredreturnNone)rd   r"   r   z*Iterator[tuple[str, SingleCommandOptions]]r   r   )r   )r   StrPath | None)r   r   r   )r   
__module____qualname____doc____annotations__r   r   classmethodr   propertyr   r   r   r   r   r   r   r   r   r   r   r   r[   r   r   r1   r/   r   r      s5   ;
 )+G%* #
 ; 
" *'*	3* * 
 
-4 C C&    - -  ,C6B(  &   
L 
L#32r1   r   c                       e Zd ZdZdddddZdZ	 dej                  f	 	 	 	 	 	 	 	 	 	 	 	 	 d fd	Ze	d
        Z
d Z xZS )r]   r^   urldescriptionclassifiers	platforms)	home_pagesummary
classifierplatformFNc                F    t         |   ||||       || _        || _        y r   )superr   r\   r   )r   rJ   rd   r+   rc   r\   r   r   s          r/   r   zConfigMetadataHandler.__init__  s)     	W.BDUV& r1   c                V   | j                  | j                  t        j                        }| j                  | j                  t        j
                        }t        | j                  | j                        }| j                  }i dt        j                  dt        j                  dt        j                  dt        j                  d|d|d|d	|d
| j                  ||      d |d      d|d|d|dt        j                  d| j                  dt        j                  d|S )r   r   authorauthor_email
maintainermaintainer_emailr
  keywordsprovides	obsoletesr	  licenselicense_filesr  long_descriptionlong_description_content_typeversionr  project_urls)r   r   r   Listr   Dictr   r   r   r   r   _parse_version)r   parse_list_staticparse_dict_static
parse_fileexclude_files_parsers        r/   r   zConfigMetadataHandler.parsers%  sj    !55d6F6FU 55d6F6FUT--F
#99
gkk
GKK
 '++
 	

 *
 )
 )
 *
 444ZARS
 +I6
 .
 :
 

 ,W[[
 t**
  7;;!
" -#
 	
r1   c                :   | j                  || j                        }||k7  r|j                         }	 t        |       |S t        j                  | j                  || j                  | j                              S # t        $ r}t        d| d|       |d}~ww xY w)zSParses `version` option value.

        :param value:
        :rtype: str

        zVersion loaded from z does not comply with PEP 440: N)
r   r   r   r   r   r   r   r  r   r\   )r   rW   r  r   s       r/   r"  z$ConfigMetadataHandler._parse_versionA  s     ""5$--8emmoG  N~~d..ud6F6FVWW " !*5' 2,,396 s   A: :	BBB)rJ   r    rd   r"   r+   boolrc   r   r\   zdict | Noner   r   r   r   )r   r   r  rS   r   strict_moder7   curdirr   r  r   r"  __classcell__r   s   @r/   r]   r]     s    N  #	G K $(#%99!(! #! #	!
 ;! !! !! 
! 
 
6Xr1   r]   c                       e Zd ZdZ	 	 	 	 	 	 	 	 	 	 d fdZed        Zd ZddZe	d        Z
d Zd Zd	 Zdd
Zd ZddZddZddZddZ xZS )rZ   rd   c                Z    t         |   ||||       |j                  | _        i | _        y r   )r  r   r_   r   r\   )r   rJ   rd   r+   rc   r   s        r/   r   zConfigOptionsHandler.__init__^  s/     	W.BDUV"+++-r1   c                (    | j                  |d      S )N;)r   )r   r   s     r/   _parse_list_semicolonz*ConfigOptionsHandler._parse_list_semicoloni  s    u44r1   c                <    | j                  || j                        S )Nr  )r   r   )r   rW   s     r/   _parse_file_in_rootz(ConfigOptionsHandler._parse_file_in_rootm  s    >>r1   c                    | j                  | j                  |            }t        |||       t        j                  d |D              S )Nc              3  D   K   | ]  }|j                  d       r|  yw)#Nrk   )rm   r   s     r/   rp   z@ConfigOptionsHandler._parse_requirements_list.<locals>.<genexpr>v  s     PT4??3;ODPs     )r1  r3  r~   r   r   )r   ry   rW   ro   s       r/   _parse_requirements_listz-ConfigOptionsHandler._parse_requirements_listp  s@    ++D,D,DU,KL-eUFC ||PVPPPr1   c                    | j                   }| j                  }| j                  }||| j                  |||| j	                  |d      t        | j                  d      | j                  | j                  | j                  |t        j                  |dS )r   zeThe namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).install_requires)zip_safeinclude_package_datar\   scriptseager_resourcesdependency_linksnamespace_packagesr9  setup_requirespackagesentry_points
py_modulespython_requirescmdclass)r   r   _parse_cmdclassr   r   r   r7  r1  _parse_packagesr3  r   SpecifierSet)r   
parse_list
parse_boolparse_cmdclasss       r/   r   zConfigOptionsHandler.parsersy  s     %%
%%
-- #$.++!) *"&"A"AH# !(--/A! #88,, 44$&33&+
 	
r1   c                    | j                   j                  }t        j                  | j	                  |      || j
                        S r   )rc   r\   r   rE  r   r   )r   rW   r\   s      r/   rF  z$ConfigOptionsHandler._parse_cmdclass  s5    ,,88t//6T]]SSr1   c                0   ddg}|j                         }||vr| j                  |      S | j                  | j                  j	                  di             }|j                  ||d   k(  | j                  | j                         t        j                  di |S )zTParses `packages` option value.

        :param value:
        :rtype: list
        zfind:zfind_namespace:zpackages.findr   )
namespacesr   fill_package_dirr   )
r   r   parse_section_packages__findr   r   ra   r   r\   r   find_packages)r   rW   find_directivestrimmed_valuefind_kwargss        r/   rG  z$ConfigOptionsHandler._parse_packages  s     #$56/##E** 77MMor2
 	%);;]]!-- 	 	
 ##2k22r1   c                    | j                  || j                        }g d}|j                         D ci c]  \  }}||v s|s|| }}}|j                  d      }||d   |d<   |S c c}}w )zParses `packages.find` configuration file section.

        To be used in conjunction with _parse_packages().

        :param dict section_options:
        )whereincludeexcluderV  r   )r   r   r   r   )r   r   section_data
valid_keyskr   rT  rV  s           r/   rP  z1ConfigOptionsHandler.parse_section_packages__find  s|     22?DDTDTU4
(4(:(:(<V1ZTUq!tVV(#(8K  Ws   A)A)A)c                F    | j                  || j                        }|| d<   y)z`Parses `entry_points` configuration file section.

        :param dict section_options:
        rB  N)r   r   r   r   ro   s      r/   parse_section_entry_pointsz/ConfigOptionsHandler.parse_section_entry_points  s&    
 ,,_d>N>NO%^r1   c                d    | j                  || j                        }t        j                  |      S r   )r   r   r   canonic_package_data)r   r   package_datas      r/   _parse_package_dataz(ConfigOptionsHandler._parse_package_data  s+    22?DDTDTU**<88r1   c                ,    | j                  |      | d<   y)z`Parses `package_data` configuration file section.

        :param dict section_options:
        ra  Nrb  r   r   s     r/   parse_section_package_dataz/ConfigOptionsHandler.parse_section_package_data  s    
  $77H^r1   c                ,    | j                  |      | d<   y)zhParses `exclude_package_data` configuration file section.

        :param dict section_options:
        exclude_package_dataNrd  re  s     r/   "parse_section_exclude_package_dataz7ConfigOptionsHandler.parse_section_exclude_package_data  s    
 (,'?'?'P#$r1   c                `      j                  | fd      }t        j                  |       d<   y)zbParses `extras_require` configuration file section.

        :param dict section_options:
        c                0    j                  d|  d|      S )Nzextras_require[r   )r7  )r[  r   r   s     r/   r   zCConfigOptionsHandler.parse_section_extras_require.<locals>.<lambda>  s    6617MqQ r1   extras_requireN)r   r   r!  r]  s   `  r/   parse_section_extras_requirez1ConfigOptionsHandler.parse_section_extras_require  s1    
 55Q

 ")f!5r1   c                    | j                  || j                        }t        j                  || j                        | d<   y)z^Parses `data_files` configuration file section.

        :param dict section_options:
        
data_filesN)r   r   r   canonic_data_filesr   r]  s      r/   parse_section_data_filesz-ConfigOptionsHandler.parse_section_data_files  s7    
 ,,_d>N>NO#66vt}}M\r1   )
rJ   r   rd   r"   r+   r(  rc   r   r   r   )ry   r@   rW   r@   r   )r   r   r  rS   r   r  r1  r3  r7  r  r   rF  rG  rP  r^  rb  rf  ri  rm  rq  r+  r,  s   @r/   rZ   rZ   [  s    N	. 	. #	. #		.
 ;	. 
	. 5 5?Q 
 
<T32$&9IQ
6Nr1   rZ   c                  (    e Zd ZdZdZdZed        Zy)ru   zAmbiguous requirement marker.z
    One of the parsed requirements in `{field}` looks like a valid environment marker:

        {req!r}

    Please make sure that the configuration file is correct.
    You can use dangling lines to avoid this problem.
    z'userguide/declarative_config.html#opt-2c                r    d| j                    }| j                  | j                  | j                  ||      S )Nz%https://setuptools.pypa.io/en/latest/)see_urlformat_args)	_SEE_DOCS_format_SUMMARY_DETAILS)r   r   docss      r/   rx   z_AmbiguousMarker.message  s2    6s}}oF{{3<<tQS{TTr1   N)r   r   r  rx  ry  rv  r  rx   r   r1   r/   ru   ru     s+    .HH :I U Ur1   ru   c                      e Zd ZdZy)r   z!userguide/declarative_config.htmlN)r   r   r  rv  r   r1   r/   r   r     s    3Ir1   r   )FF)r)   r   r*   r(  r+   r(  r   rQ   )r,   r   r)   r   r   r   )r   F)
r,   r   r)   r   rD   zIterable[StrPath]r+   r(  r   2tuple[ConfigMetadataHandler, ConfigOptionsHandler])rJ   z#Distribution | DistributionMetadatarK   r@   )r.   zKIterable[ConfigHandler[Distribution] | ConfigHandler[DistributionMetadata]]r   rQ   )F)rb   r   rB   r"   r+   r(  r   r|  )ry   r@   rz   r@   ro   r?   )Ar  
__future__r   r   rH   r7   collectionsr   collections.abcr   r   r   r   typingr	   r
   r   r   r   r   r   packaging.markersr   rr   packaging.requirementsr   r   packaging.versionr   r   r   r   _pathr   errorsr   r   warningsr   r   typing_extensionsr   r%   r   distutils.distr    rQ   r@   tupler!   r  r"   r#   r0   r4   r'   rO   r(   rA   r~   r   r]   rZ   ru   r   r   r1   r/   <module>r     s  	 #   	 # . $ Q Q Q ? B 5   + 3 +,3"&sE#s(O';"< i <
  $C)=$=> 9 > 	>+A	B PU++$(+HL+	+4 &(!&	
 # 	
 8>	 
	2 "'++&+ + 8	+\2@aGFO aH	PXM*@A PXfYN=8 YNxU3 U(44 4r1   