
    7fc                    `   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 ddlm	Z	 ddl
mZmZmZ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 ddlmZ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, ededef         f         Z-	 ede-f         Z. eded                   Z/	 dBdCdZ0dDd Z1	 	 dEdFd'Z2dGd*Z3dHd,Z4	 dIdJd1Z5dKd6Z6 G d7 d8ee/                   Z7 G d9 d:e7d;                   Z8 G d< d=e7d                   Z9 G d> d?e&          Z: G d@ dAe&          Z;dS )La<  
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)partialwraps)
TYPE_CHECKINGCallableAnyDictGenericIterableIteratorTupleTypeVarUnion   )StrPath)	FileErrorOptionError)default_environment)InvalidRequirementRequirement)SpecifierSet)InvalidVersionVersion)SetuptoolsDeprecationWarning   )expand)DistributionMetadataDistributionstrTarget)r!   r   )boundFfilepathr   returndictc                    ddl m}  |            }|r|                                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)r%   find_othersignore_option_errorsr!   dist	filenameshandlerss          X/home/feoh/.local/pipx/shared/lib/python3.11/site-packages/setuptools/config/setupcfg.pyread_configurationr3   9   s^    $ -,,,,,<>>D,7?&&(((RIdHi1EFFH ***    r/   r!   c                N    t          | |           |                                  | S )z`Apply the configuration from a ``setup.cfg`` file into an existing
    distribution object.
    )r+   _finalize_requires)r/   r%   s     r2   apply_configurationr7   S   s+     4Kr4    other_filesIterable[StrPath]r.   booltuple[ConfigHandler, ...]c                *   ddl m} t          j                            |          }t          j                            |          st          d| d          t          j                    }t          j        t          j        	                    |                     g ||}	 |
                    | |           t          | | j        |          }|                                  t          j        |           n# t          j        |           w xY w|S )zHRead configuration from ``filepath`` and applies to the ``dist`` object.r   )_DistributionzConfiguration file z does not exist.)r0   )r.   )r)   r>   ospathabspathisfiler   getcwdchdirdirnameparse_config_filesparse_configurationcommand_options_finalize_license_files)r/   r%   r9   r.   r>   current_directoryr0   r1   s           r2   r+   r+   \   s    .-----wx((H7>>(## JHhHHHIII	HRW__X&&'''(+(x(I$(((CCC&$&=Q
 
 
 	$$&&&
"####"####Os   #AC: :D
target_objkeyc                x    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)rK   rL   getter_nameby_attributegetters        r2   _get_optionrT   z   s?     ,,K$Wj#>>LZl;;F688Or4   r1   c                    t          t                    }| D ]1}|j        D ]'}t          |j        |          }|||j                 |<   (2|S )zReturns configuration data gathered by given handlers as a dict.

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

    :rtype: dict
    )r   r'   set_optionsrT   rK   section_prefix)r1   config_dicthandleroptionvalues        r2   r,   r,      sk     $D))K @ @) 	@ 	@F 2F;;E:?K./77	@ r4   distributionrH   AllCommandOptions2tuple[ConfigMetadataHandler, ConfigOptionsHandler]c           	        t          j        |           5 }t          | |||          }|                                 | j        s|j        | _        t          | j        |||| j        | j                  }|                                 | j        	                    |j        |j                   ddd           n# 1 swxY w Y   ||fS )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)r\   rH   r.   ensure_discoveredoptionsmetas         r2   rG   rG      s   $ 
	(	6	6 
:K& 	
 
 	' 	;'.':L$$! $!
 
 	

&--%t'=	
 	
 	
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2 =s   BB77B;>B;label
orig_valueparsedlistc                   d|v st                    dk    rdS t                                                      }	 t          d                   }|j        |v r$t
                              | d                    dS dS # t          $ rX}t          fd|D                       r2t
          	                    | d                   }t          |          |Y d}~dS 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  N   K   | ]}d                               |          V   dS )r   N
startswith).0markerrn   s     r2   	<genexpr>z8_warn_accidental_env_marker_misconfig.<locals>.<genexpr>   s5      BBvay##F++BBBBBBr4   )
len
marker_envkeysr   name_AmbiguousMarkeremitr   anymessage)rl   rm   rn   markersrs   exmsgs     `    r2   %_warn_accidental_env_marker_misconfigr      s   " zS[[A--ll!!G2&)$$8w!!6!9!=====  2 2 2BBBB'BBBBB 	2"**F1I*FFC$S))r1	2 	2 	2 	2 	2 	22s   A B   
C"
ACC"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 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 Zd(d!Zd" ZdS ))ConfigHandlerz1Handles metadata supplied in configuration files.r"   rW   zdict[str, str]aliasesrK   r#   rj   r]   ri   expand.EnsurePackagesDiscoveredc                    || _         || _        t          |                     |                    | _        g | _        || _        t                      | _        d S N)	r.   rK   r'   _section_optionssectionsrV   ri   setrg   )selfrK   rj   r.   ri   s        r2   __init__zConfigHandler.__init__   sV     %9!$T227;;<<&(!2+.55	 	r4   r&   *Iterator[tuple[str, SingleCommandOptions]]c              #     K   |                                 D ]?\  }}|                    | j                  \  }}}|r&|                    d          |fV  @d S )N.)items	partitionrW   lstrip)clsrj   	full_namer[   presepr}   s          r2   r   zConfigHandler._section_options  su       !( 	* 	*Iu&001CDDNCd ++c""E)))))		* 	*r4   c                :    t          d| j        j        z            ).Metadata item name to parser function mapping.z!%s must provide .parsers property)NotImplementedError	__class____name__)r   s    r2   parserszConfigHandler.parsers  s#     "/$.2II
 
 	
r4   c                   | j         }| j                            ||          }	 t          ||          }n"# t          $ r}t          |          |d }~ww xY w|rd S 	  | j                            |d           |          }n# t          f| j        z  $ r Y d S w xY wt          j
        |j        |          }t          |d|z  |          } ||           | j                            |           d S )Nc                    | S r   r8   )xs    r2   <lambda>z+ConfigHandler.__setitem__.<locals>.<lambda>(  s    Q r4   zset_%s)rK   r   getrP   AttributeErrorKeyErrorr   	Exceptionr.   rO   r   __setattr__rV   append)	r   option_namer[   rK   current_valueern   simple_settersetters	            r2   __setitem__zConfigHandler.__setitem__  s#   _
 l&&{K@@	/#J<<MM 	/ 	/ 	/;''Q.	/  	F	?T\%%k;;??FFFF|d77 	 	 	FF	 ")**@+NNX%;]KKv,,,,,s&   5 
AAA%B BB,c                    t          |t                    r|S d|v r|                                }n|                    |          }d |D             S )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
        rq   c                ^    g | ]*}|                                 |                                 +S r8   strip)rw   chunks     r2   
<listcomp>z-ConfigHandler._parse_list.<locals>.<listcomp>D  s-    BBB%EKKMMBBBBr4   )
isinstancero   
splitlinessplit)r   r[   	separators      r2   _parse_listzConfigHandler._parse_list2  s\     eT"" 	L5==$$&&EEKK	**EBB5BBBBr4   c                    d}i }|                      |          D ]\}|                    |          \  }}}||k    rt          d|           |                                ||                                <   ]|S )zPRepresents value as a dict.

        :param value:
        :rtype: dict
        =z&Unable to parse option value to dict: )r   r   r   r   )r   r[   r   resultlinerL   r   vals           r2   _parse_dictzConfigHandler._parse_dictF  s     	OOE** 	. 	.D NN955MCci!"R5"R"RSSS"%))++F399;;r4   c                2    |                                 }|dv S )zQRepresents value as boolean.

        :param value:
        :rtype: bool
        )1trueyes)lowerr   r[   s     r2   _parse_boolzConfigHandler._parse_boolW  s     ,,,r4   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                z    d}|                      |          r"t          d                                        | S )Nfile:zCOnly strings are accepted for the {0} field, files are not accepted)rv   
ValueErrorformat)r[   exclude_directiverL   s     r2   parserz3ConfigHandler._exclude_files_parser.<locals>.parserm  sI     ' 122  --3VC[[   Lr4   r8   )r   rL   r   s    ` r2   _exclude_files_parserz#ConfigHandler._exclude_files_parsera  s#    	 	 	 	 	 r4   root_dirr   c                ,   d}t          |t                    s|S |                    |          s|S |t          |          d         }d |                    d          D             }| j                            |           t          j        ||          S )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   Nc                6    g | ]}|                                 S r8   r   )rw   r@   s     r2   r   z-ConfigHandler._parse_file.<locals>.<listcomp>  s     >>>dTZZ\\>>>r4   r   )	r   r"   rv   rz   r   rg   rh   r   
read_files)r   r[   r   include_directivespec	filepathss         r2   _parse_filezConfigHandler._parse_filex  s     $%%% 	L 122 	LS*++--.>>djjoo>>>	%%i000 H555r4   c                    d}|                     |          s|S |                    |d          }|                    | 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: )rv   replacerh   ri   rc   r   	read_attr)r   r[   rc   r   attr_directive	attr_descs         r2   _parse_attrzConfigHandler._parse_attr  sh     !// 	LMM."55	 	41=>>>	;AAAr4   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   r8   )r[   rn   methodparse_methodss      r2   rb   z1ConfigHandler._get_parser_compound.<locals>.parse  s+    F' ( (Mr4   r8   )r   r   rb   s    ` r2   _get_parser_compoundz"ConfigHandler._get_parser_compound  s#    	 	 	 	 	 r4   c                b    i }|                                 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_parserr[   rL   _r   s          r2   _parse_section_to_dict_with_keyz-ConfigHandler._parse_section_to_dict_with_key  sH     ,2244 	1 	1MC!S&sC00E#JJr4   Nc                D    rfdnd }|                      ||          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   r8   )r   vr   s     r2   r   z6ConfigHandler._parse_section_to_dict.<locals>.<lambda>  s    }}Q// r4   c                    |S r   r8   )r   r   s     r2   r   z6ConfigHandler._parse_section_to_dict.<locals>.<lambda>  s    UV r4   r   )r   r   r   r   s     ` r2   _parse_section_to_dictz$ConfigHandler._parse_section_to_dict  s7     5BW/////22?FKKKr4   c                    |                                 D ]>\  }\  }}t          j        t                    5  || |<   ddd           n# 1 swxY w Y   ?dS )zQParses configuration file section.

        :param dict section_options:
        N)r   
contextlibsuppressr   )r   r   r}   r   r[   s        r2   parse_sectionzConfigHandler.parse_section  s    
 !0 5 5 7 7 	# 	#D*1e$X.. # #"T
# # # # # # # # # # # # # # #	# 	#s   AA	A	Nonec                    | j                                         D ]^\  }}d}|rd|z  }t          | d|z                      dd          d          }|t	          d| j         d| d           ||           _dS )	zTParses configuration file items from one
        or more related sections.

        r   z_%szparse_section%sr   __Nz*Unsupported distribution option section: [])r   r   rP   r   r   rW   )r   section_namer   method_postfixsection_parser_methods        r2   rb   zConfigHandler.parse  s    
 .2]-@-@-B-B 	3 	3)L/N 6!&!55<"^3<<S$GG	6 6! %,!>+> >.:> > >  
 "!/2222%	3 	3r4   c                D    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                         dd           t          j        dfi   | i |S )N
stacklevelr   z Deprecated config in `setup.cfg`)
setdefault_DeprecatedConfigr   )argskwargsfunckwr   s     r2   config_handlerz@ConfigHandler._deprecated_config_handler.<locals>.config_handler   sH    MM,***"#EsQQbQQQ4((((r4   r   )r   r  r   r  r  s    ``` r2   _deprecated_config_handlerz(ConfigHandler._deprecated_config_handler  sB     
t	) 	) 	) 	) 	) 	) 
	)
 r4   )rK   r#   rj   r]   ri   r   )rj   r]   r&   r   )r   )r   r   r   )r&   r   )r   
__module____qualname____doc____annotations__r   r   classmethodr   propertyr   r   r   r   r   r   r   r   r   r   r   r   rb   r  r8   r4   r2   r   r      s        ;;
 !G       " * * * [* 
 
 X
- - -4 C C C [C&   [  - - [-   [,6 6 6 64B B B B(   [&   [ 
L 
L 
L [
L# # #3 3 3 32    r4   r   c                  d     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 )rd   re   urldescriptionclassifiers	platforms)	home_pagesummary
classifierplatformFNrK   r   rj   r]   r.   r;   ri   r   rc   dict | Noner   r   c                l    t                                          ||||           || _        || _        d S r   )superr   rc   r   )r   rK   rj   r.   ri   rc   r   r   s          r2   r   zConfigMetadataHandler.__init__  s8     	W.BDUVVV& r4   c                    | j         }t          | j        | j                  }| j        }| j        }|||||                     ||           |d          |||| j        |dS )r   r   license)r  keywordsprovides	obsoletesr  r  license_filesr  long_descriptionversionproject_urls)r   r   r   r   r   r   r   _parse_version)r   
parse_list
parse_file
parse_dictexclude_files_parsers        r2   r   zConfigMetadataHandler.parsers&  s     %
T-FFF
%
#9 $""#44ZLL++I66'% **&
 
 	
r4   c                H   |                      || j                  }||k    rO|                                }	 t          |           n(# t          $ r}t          d| d|           |d}~ww xY w|S t          j        |                     || j	        | j                            S )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   rc   )r   r[   r!  r   s       r2   r#  z$ConfigMetadataHandler._parse_version<  s     ""5$-88emmooG    !   !65 6 6,36 6   N~d..ud6FVVWWWs   A 
A,A''A,)rK   r   rj   r]   r.   r;   ri   r   rc   r  r   r   )r   r  r  rW   r   strict_moder?   curdirr   r  r   r#  __classcell__r   s   @r2   rd   rd   	  s        N  #	 G K $(I! ! ! ! ! ! ! 
 
 X
*X X X X X X Xr4   rd   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 Zd Zd Zd Zd Zd Z xZS )ra   rj   rK   r!   r]   r.   r;   ri   r   c                v    t                                          ||||           |j        | _        i | _        d S r   )r  r   rf   r   rc   )r   rK   rj   r.   ri   r   s        r2   r   zConfigOptionsHandler.__init__Y  s=     	W.BDUVVV"++-r4   c                0    |                      |d          S )N;)r   )r   r   s     r2   _parse_list_semicolonz*ConfigOptionsHandler._parse_list_semicolond  s    u444r4   c                :    |                      || j                  S )Nr  )r   r   )r   r[   s     r2   _parse_file_in_rootz(ConfigOptionsHandler._parse_file_in_rooth  s    >>>r4   rl   r"   r[   c                    |                      |                     |                    }t          |||           d |D             S )Nc                <    g | ]}|                     d           |S )#ru   )rw   r   s     r2   r   zAConfigOptionsHandler._parse_requirements_list.<locals>.<listcomp>q  s)    DDDts/C/CDDDDr4   )r1  r3  r   )r   rl   r[   rn   s       r2   _parse_requirements_listz-ConfigOptionsHandler._parse_requirements_listk  sL    ++D,D,DU,K,KLL-eUFCCC EDDDDDr4   c                    | j         }| j        }| j        }| j        }|||||||                     |d          t          | j        d          | j        | j        | j	        |t          |dS )r   zeThe namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).install_requires)zip_safeinclude_package_datarc   scriptseager_resourcesdependency_linksnamespace_packagesr9  setup_requirespackagesentry_points
py_modulespython_requirescmdclass)r   r   r   _parse_cmdclassr  r   r7  r1  _parse_packagesr3  r   )r   r$  
parse_boolr&  parse_cmdclasss        r2   r   zConfigOptionsHandler.parserss  s     %
%
%
- #$.%!) *"&"A"AH# # !(-/A! ! #8, 4$+&+
 
 	
r4   c                v    | j         j        }t          j        |                     |          || j                  S r   )ri   rc   r   rE  r   r   )r   r[   rc   s      r2   rF  z$ConfigOptionsHandler._parse_cmdclass  s1    ,8t//66T]SSSr4   c                :   ddg}|                                 }||vr|                     |          S |                     | j                            di                     }|                    ||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_dirr8   )
r   r   parse_section_packages__findr   r   rh   r   rc   r   find_packages)r   r[   find_directivestrimmed_valuefind_kwargss        r2   rG  z$ConfigOptionsHandler._parse_packages  s     #$56//##E*** 77Mor22
 
 	%);;]!- 	 	
 	
 	
 #22k222r4   c                    |                      || j                  }g dt          fd|                                D                       }|                    d          }||d         |d<   |S )zParses `packages.find` configuration file section.

        To be used in conjunction with _parse_packages().

        :param dict section_options:
        )whereincludeexcludec                *    g | ]\  }}|v 	|||fS r8   r8   )rw   kr   
valid_keyss      r2   r   zEConfigOptionsHandler.parse_section_packages__find.<locals>.<listcomp>  s1     
 
 
q!qJ1QFr4   rT  Nr   )r   r   r'   r   r   )r   r   section_datarR  rT  rY  s        @r2   rN  z1ConfigOptionsHandler.parse_section_packages__find  s     22?DDTUU444
 
 
 
 
+1133
 
 
   ((#(8K r4   c                F    |                      || j                  }|| d<   dS )z`Parses `entry_points` configuration file section.

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

        :param dict section_options:
        r`  Nra  r   r   s     r2   parse_section_package_dataz/ConfigOptionsHandler.parse_section_package_data  s"    
  $77HH^r4   c                6    |                      |          | d<   dS )zhParses `exclude_package_data` configuration file section.

        :param dict section_options:
        exclude_package_dataNrc  rd  s     r2   "parse_section_exclude_package_dataz7ConfigOptionsHandler.parse_section_exclude_package_data  s#    
 (,'?'?'P'P#$$$r4   c                D                           | fd          }| d<   dS )zbParses `extras_require` configuration file section.

        :param dict section_options:
        c                8                         d|  d|          S )Nzextras_require[r   )r7  )rX  r   r   s     r2   r   zCConfigOptionsHandler.parse_section_extras_require.<locals>.<lambda>  s#    667M7M7M7MqQQ r4   extras_requireNr   r\  s   `  r2   parse_section_extras_requirez1ConfigOptionsHandler.parse_section_extras_require  s<    
 55QQQQ
 

 "(r4   c                v    |                      || j                  }t          j        || j                  | d<   dS )z^Parses `data_files` configuration file section.

        :param dict section_options:
        
data_filesN)r   r   r   canonic_data_filesr   r\  s      r2   parse_section_data_filesz-ConfigOptionsHandler.parse_section_data_files  s;    
 ,,_d>NOO#6vt}MM\r4   )rK   r!   rj   r]   r.   r;   ri   r   )rl   r"   r[   r"   )r   r  r  rW   r   r  r1  r3  r7  r  r   rF  rG  rN  r]  ra  re  rh  rl  rp  r+  r,  s   @r2   ra   ra   V  s6       N	. 	. 	. 	. 	. 	. 5 5 [5? ? ?E E E E 
 
 X
>T T T3 3 32  *& & &9 9 9I I IQ Q Q
( 
( 
(N N N N N N Nr4   ra   c                  0    e Zd ZdZdZdZed             ZdS )r~   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                \    d| j          }|                     | j        | j        ||          S )Nz%https://setuptools.pypa.io/en/latest/)see_urlformat_args)	_SEE_DOCS_format_SUMMARY_DETAILS)r   r  docss      r2   r   z_AmbiguousMarker.message  s0    Fs}FF{{3<tQS{TTTr4   N)r   r  r  rw  rx  ru  r  r   r8   r4   r2   r~   r~     sG        .HH :I U U [U U Ur4   r~   c                      e Zd ZdZdS )r   z!userguide/declarative_config.htmlN)r   r  r  ru  r8   r4   r2   r   r     s        3IIIr4   r   )FF)r%   r   r&   r'   )r/   r!   r%   r   r&   r!   )r8   F)
r/   r!   r%   r   r9   r:   r.   r;   r&   r<   )rK   r#   rL   r"   )r1   r<   r&   r'   )F)r\   r!   rH   r]   r&   r^   )rl   r"   rm   r"   rn   ro   )<r	  
__future__r   r   rO   r?   collectionsr   r   r   typingr   r	   r
   r   r   r   r   r   r   r   _pathr   errorsr   r   packaging.markersr   r{   packaging.requirementsr   r   packaging.specifiersr   packaging.versionr   r   warningsr   r   r   distutils.distr   r)   r!   SingleCommandOptionsr]   r#   r3   r7   r+   rT   r,   rG   r   r   rd   ra   r~   r   r8   r4   r2   <module>r     s  	 	 # " " " " "         				 # # # # # #                                          + + + + + + + + ? ? ? ? ? ? B B B B B B B B - - - - - - 5 5 5 5 5 5 5 5 3 3 3 3 3 3       -333333,,,,,,E5#445 
  445 	'M!N	O	O	O @E+ + + + +4    &(!&	    <	 	 	 	   * + + + + +\2 2 2 2@` ` ` ` `GFO ` ` `F	JX JX JX JX JXM*@A JX JX JXZ[N [N [N [N [N=8 [N [N [N|U U U U U3 U U U(4 4 4 4 44 4 4 4 4 4r4   