o
    OBid  ã                   @   sF  d 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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 d�Z/	dBdede0fdd„Z1dddeddfdd„Z2	 	dCddded!ee d"e3ded# f
d$d%„Z4d&e/d'e5fd(d)„Z6d*ed# de0fd+d,„Z7	dDd-dd.e.ded/ fd0d1„Z8d2e5d3e5d4e9fd5d6„Z:G d7d8„ d8ee/ ƒZ;G d9d:„ d:e;d; ƒZ<G d<d=„ d=e;d ƒZ=G d>d?„ d?e&ƒZ>G d@dA„ dAe&ƒZ?dS )Ea<  
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``.
é    N)Údefaultdict)Úpartial©Úwraps)ÚTYPE_CHECKINGÚCallableÚAnyÚDictÚGenericÚIterableÚListÚOptionalÚSetÚTupleÚTypeVarÚUnioné   )ÚStrPath)Ú	FileErrorÚOptionError)Údefault_environment)ÚInvalidRequirementÚRequirement)ÚSpecifierSet)ÚInvalidVersionÚVersion)ÚSetuptoolsDeprecationWarningé   )Úexpand)ÚDistributionMetadata©ÚDistributionÚstrÚTarget)r!   r   )ÚboundFÚfilepathÚreturnc                 C   s8   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Úhandlers© r0   úi/var/www/html/Moveonwheels/move_on_wheels/venv/lib/python3.10/site-packages/setuptools/config/setupcfg.pyÚread_configuration9   s
   r2   r-   r!   c                 C   s   t | |ƒ |  ¡  | S )z`Apply the configuration from a ``setup.cfg`` file into an existing
    distribution object.
    )r)   Ú_finalize_requires)r-   r%   r0   r0   r1   Úapply_configurationS   s   
r4   r0   Úother_filesr,   )ÚConfigHandler.c              	   C   sž   ddl m} tj |¡}tj |¡std|› d�ƒ‚t ¡ }t tj 	|¡¡ g |¢|‘}z|j
| |d� t| | j|d�}|  ¡  W t |¡ |S t |¡ w )zHRead configuration from ``filepath`` and applies to the ``dist`` object.r   )Ú_DistributionzConfiguration file z does not exist.)r.   )r,   )r'   r7   ÚosÚpathÚabspathÚisfiler   ÚgetcwdÚchdirÚdirnameÚparse_config_filesÚparse_configurationÚcommand_optionsÚ_finalize_license_files)r-   r%   r5   r,   r7   Úcurrent_directoryr.   r/   r0   r0   r1   r)   \   s    ÿ

þr)   Ú
target_objÚkeyc                 C   s*   d|› �}t  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)rD   rE   Úgetter_nameÚby_attributeÚgetterr0   r0   r1   Ú_get_optionz   s   
rL   r/   c                 C   s<   t tƒ}| D ]}|jD ]}t|j|ƒ}|||j |< qq|S )z»Returns configuration data gathered by given handlers as a dict.

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

    :rtype: dict
    )r   ÚdictÚset_optionsrL   rD   Úsection_prefix)r/   Úconfig_dictÚhandlerÚoptionÚvaluer0   r0   r1   r*   †   s   
þr*   ÚdistributionrA   )ÚConfigMetadataHandlerÚConfigOptionsHandlerc                 C   sŽ   t  | ¡�6}t| |||ƒ}| ¡  | js|j| _t| j|||| j| jƒ}| ¡  | j 	|j|j¡ W d  ƒ ||fS 1 s>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   ÚEnsurePackagesDiscoveredrV   ÚparseÚpackage_dirrU   ÚmetadataÚsrc_rootÚ_referenced_filesÚupdate)rT   rA   r,   Úensure_discoveredÚoptionsÚmetar0   r0   r1   r@   ˜   s4   üúÿ
ëçr@   ÚlabelÚ
orig_valueÚparsedc              
      s°   d|v s
t ˆ ƒdkrdS tƒ  ¡ }ztˆ d ƒ}|j|v r)tj| ˆ d d� W dS W dS  tyW } z t‡ fdd„|D ƒƒrLtj	| ˆ d d�}t|ƒ|‚W Y d}~dS d}~w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   s   � | ]
}ˆ d    |¡V  qdS )r   N©Ú
startswith)Ú.0Úmarker©rc   r0   r1   Ú	<genexpr>á   s   € z8_warn_accidental_env_marker_misconfig.<locals>.<genexpr>)
ÚlenÚ
marker_envÚkeysr   ÚnameÚ_AmbiguousMarkerÚemitr   ÚanyÚmessage)ra   rb   rc   Úmarkersrf   ÚexÚmsgr0   rk   r1   Ú%_warn_accidental_env_marker_misconfigÆ   s   

ÿ
þ€ÿrx   c                   @   sþ   e Zd ZU dZeed< 	 i Zeeef ed< 	 dede	de
jfdd„Zede	fd	d
„ƒZedd„ ƒZdd„ Zed+dd„ƒZedd„ ƒZedd„ ƒZedd„ ƒZdefdd„Zdefdd„Zedd„ ƒZedd „ ƒZed,d"d#„ƒZd$d%„ Zd-d'd(„Zd)d*„ Zd!S ).r6   z1Handles metadata supplied in configuration files.rO   ÚaliasesrD   r_   r^   c                 C   s4   || _ || _t|  |¡ƒ| _g | _|| _tƒ | _d S ©N)	r,   rD   rM   Ú_section_optionsÚsectionsrN   r^   Úsetr\   ©ÚselfrD   r_   r,   r^   r0   r0   r1   Ú__init__ö   s   zConfigHandler.__init__c                 c   s@   � |  ¡ D ]\}}| | j¡\}}}|rq| d¡|fV  qd S )NÚ.)ÚitemsÚ	partitionrO   Úlstrip)Úclsr_   Ú	full_namerS   ÚpreÚseprp   r0   r0   r1   r{     s   €üzConfigHandler._section_optionsc                 C   s   t d| jj ƒ‚)ú.Metadata item name to parser function mapping.z!%s must provide .parsers property)ÚNotImplementedErrorÚ	__class__Ú__name__©r   r0   r0   r1   Úparsers  s   
ÿzConfigHandler.parsersc           	   
   C   s¼   | j }| j ||¡}zt||ƒ}W n ty" } zt|ƒ|‚d }~ww |r'd S z| j |dd„ ¡|ƒ}W n tf| j yB   Y d S w t	 
|j|¡}t|d| |ƒ}||ƒ | j |¡ d S )Nc                 S   s   | S rz   r0   )Úxr0   r0   r1   Ú<lambda>&  ó    z+ConfigHandler.__setitem__.<locals>.<lambda>zset_%s)rD   ry   ÚgetrH   ÚAttributeErrorÚKeyErrorrŽ   Ú	Exceptionr,   rG   r   Ú__setattr__rN   Úappend)	r   Úoption_namerS   rD   Úcurrent_valueÚerc   Úsimple_setterÚsetterr0   r0   r1   Ú__setitem__  s&   
€ÿÿzConfigHandler.__setitem__ú,c                 C   s8   t |tƒr|S d|v r| ¡ }n| |¡}dd„ |D ƒS )z×Represents 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
        rd   c                 S   s   g | ]
}|  ¡ r|  ¡ ‘qS r0   ©Ústrip)ri   Úchunkr0   r0   r1   Ú
<listcomp>B  s    z-ConfigHandler._parse_list.<locals>.<listcomp>)Ú
isinstanceÚlistÚ
splitlinesÚsplit)r…   rS   Ú	separatorr0   r0   r1   Ú_parse_list0  s   



zConfigHandler._parse_listc                 C   sR   d}i }|   |¡D ]}| |¡\}}}||krtd|› �ƒ‚| ¡ || ¡ < q	|S )zPRepresents value as a dict.

        :param value:
        :rtype: dict
        ú=z&Unable to parse option value to dict: )r¨   rƒ   r   r    )r…   rS   r§   ÚresultÚlinerE   rˆ   Úvalr0   r0   r1   Ú_parse_dictD  s   zConfigHandler._parse_dictc                 C   s   |  ¡ }|dv S )zQRepresents value as boolean.

        :param value:
        :rtype: bool
        )Ú1ÚtrueÚyes)Úlower©r…   rS   r0   r0   r1   Ú_parse_boolU  s   zConfigHandler._parse_boolc                    ó   ‡ fdd„}|S )zßReturns 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                    s    d}|   |¡rtd ˆ ¡ƒ‚| S )Núfile:zCOnly strings are accepted for the {0} field, files are not accepted)rh   Ú
ValueErrorÚformat)rS   Úexclude_directive©rE   r0   r1   Úparserk  s   
þz3ConfigHandler._exclude_files_parser.<locals>.parserr0   )r…   rE   rº   r0   r¹   r1   Ú_exclude_files_parser_  s   	z#ConfigHandler._exclude_files_parserÚroot_dirc                 C   s\   d}t |tƒs	|S | |¡s|S |t|ƒd… }dd„ | d¡D ƒ}| j |¡ t ||¡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                 S   s   g | ]}|  ¡ ‘qS r0   rŸ   )ri   r9   r0   r0   r1   r¢   Œ  ó    z-ConfigHandler._parse_file.<locals>.<listcomp>rž   )	r£   r"   rh   rm   r¦   r\   r]   r   Ú
read_files)r   rS   r¼   Úinclude_directiveÚspecÚ	filepathsr0   r0   r1   Ú_parse_filev  s   

zConfigHandler._parse_filec                 C   s:   d}|  |¡s	|S | |d¡}| | jj¡ t |||¡S )z·Represents value as a module attribute.

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

        :param str value:
        :rtype: str
        zattr:Ú )rh   Úreplacer]   r^   rY   r   Ú	read_attr)r   rS   rY   r¼   Úattr_directiveÚ	attr_descr0   r0   r1   Ú_parse_attr�  s   

zConfigHandler._parse_attrc                    r´   )z¹Returns parser function to represents value as a list.

        Parses a value applying given methods one after another.

        :param parse_methods:
        :rtype: callable
        c                    s   | }ˆ D ]}||ƒ}q|S rz   r0   )rS   rc   Úmethod©Úparse_methodsr0   r1   rX   ®  s   
z1ConfigHandler._get_parser_compound.<locals>.parser0   )r…   rË   rX   r0   rÊ   r1   Ú_get_parser_compound¤  s   
z"ConfigHandler._get_parser_compoundc                 C   s,   i }|  ¡ D ]\}\}}|||ƒ||< q|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_parserrS   rE   Ú_r¬   r0   r0   r1   Ú_parse_section_to_dict_with_key¸  s   
z-ConfigHandler._parse_section_to_dict_with_keyNc                    s$   ˆ r‡ fdd„nd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   ˆ |ƒS rz   r0   ©rÏ   Úv©rÎ   r0   r1   r�   Ñ  s    z6ConfigHandler._parse_section_to_dict.<locals>.<lambda>c                 S   s   |S rz   r0   rÑ   r0   r0   r1   r�   Ñ  r‘   ©rÐ   )r…   rÍ   rÎ   rº   r0   rÓ   r1   Ú_parse_section_to_dictÇ  s   
z$ConfigHandler._parse_section_to_dictc              	   C   sL   |  ¡ D ]\}\}}t t¡� || |< W d  ƒ n1 sw   Y  qdS )zQParses configuration file section.

        :param dict section_options:
        N)r‚   Ú
contextlibÚsuppressr”   )r   rÍ   rp   rÏ   rS   r0   r0   r1   Úparse_sectionÔ  s   
þ€ÿzConfigHandler.parse_sectionr&   c                 C   sh   | j  ¡ D ],\}}d}|rd| }t| d|  dd¡dƒ}|du r-td| j› d|› d�ƒ‚||ƒ q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‚   rH   rÄ   r   rO   )r   Úsection_namerÍ   Úmethod_postfixÚsection_parser_methodr0   r0   r1   rX   Þ  s&   üÿÿÿ
îzConfigHandler.parsec                    s   t ˆ ƒ‡ ‡‡fdd„ƒ}|S )z¢this function will wrap around parameters that are deprecated

        :param msg: deprecation message
        :param func: function to be wrapped around
        c                     s.   ˆ  dd¡ tjdˆfi ˆ¤Ž ˆ | i |¤ŽS )NÚ
stacklevelr   z Deprecated config in `setup.cfg`)Ú
setdefaultÚ_DeprecatedConfigrr   )ÚargsÚkwargs©ÚfuncÚkwrw   r0   r1   Úconfig_handlerþ  s   z@ConfigHandler._deprecated_config_handler.<locals>.config_handlerr   )r   rä   rw   rå   ræ   r0   rã   r1   Ú_deprecated_config_handler÷  s   z(ConfigHandler._deprecated_config_handler)rž   rz   )r&   N)rŒ   Ú
__module__Ú__qualname__Ú__doc__r"   Ú__annotations__ry   r	   r#   ÚAllCommandOptionsr   rW   r€   Úclassmethodr{   ÚpropertyrŽ   r�   r¨   r­   r³   r»   r   rÂ   rÈ   rÌ   rÐ   rÕ   rØ   rX   rç   r0   r0   r0   r1   r6   æ   sJ   
 þý
û


	




r6   c                       sp   e Zd ZdZdddddœZdZ	 dejfd	d
dede	de
jdee def‡ fdd„Zedd„ ƒZdd„ Z‡  ZS )rU   rZ   ÚurlÚdescriptionÚclassifiersÚ	platforms)Ú	home_pageÚsummaryÚ
classifierÚplatformFNrD   r   r_   r,   r^   rY   r¼   c                    s"   t ƒ  ||||¡ || _|| _d S rz   )Úsuperr€   rY   r¼   )r   rD   r_   r,   r^   rY   r¼   ©r‹   r0   r1   r€     s   	
zConfigMetadataHandler.__init__c                 C   sL   | j }t| j| jd�}| 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_parserr0   r0   r1   rŽ   $  s    
õzConfigMetadataHandler.parsersc              
   C   st   |   || j¡}||kr.| ¡ }zt|ƒ W |S  ty- } ztd|› d|› �ƒ|‚d}~ww t |  || 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È   rY   )r   rS   r   rš   r0   r0   r1   r  :  s"   
úÿÿý€ÿz$ConfigMetadataHandler._parse_version)rŒ   rè   ré   rO   ry   Ústrict_moder8   Úcurdirrì   Úboolr   rW   r   rM   r   r€   rî   rŽ   r  Ú__classcell__r0   r0   rø   r1   rU     s6    üùþýüûúù
rU   r   c                       s®   e Zd ZdZdddededejf‡ fdd„Ze	dd	„ ƒZ
d
d„ Zdedefdd„Zedd„ ƒZdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zd d!„ Zd"d#„ Z‡  ZS )$rV   r_   rD   r!   r,   r^   c                    s$   t ƒ  ||||¡ |j| _i | _d S rz   )r÷   r€   r[   r¼   rY   r~   rø   r0   r1   r€   W  s   
zConfigOptionsHandler.__init__c                 C   s   | j |dd�S )Nú;)r§   )r¨   r²   r0   r0   r1   Ú_parse_list_semicolonb  s   z*ConfigOptionsHandler._parse_list_semicolonc                 C   s   | j || jd�S )Nrù   )rÂ   r¼   )r   rS   r0   r0   r1   Ú_parse_file_in_rootf  s   z(ConfigOptionsHandler._parse_file_in_rootra   rS   c                 C   s*   |   |  |¡¡}t|||ƒ dd„ |D ƒS )Nc                 S   s   g | ]	}|  d ¡s|‘qS )ú#rg   )ri   r«   r0   r0   r1   r¢   o  s    zAConfigOptionsHandler._parse_requirements_list.<locals>.<listcomp>)r  r  rx   )r   ra   rS   rc   r0   r0   r1   Ú_parse_requirements_listi  s   z-ConfigOptionsHandler._parse_requirements_listc                 C   sT   | j }| j}| j}| j}|||||||  |d¡t| jdƒ| j| 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_datarY   ÚscriptsÚeager_resourcesÚdependency_linksÚnamespace_packagesr  Úsetup_requiresÚtests_requireÚpackagesÚentry_pointsÚ
py_modulesÚpython_requiresÚcmdclass)r¨   r³   r­   Ú_parse_cmdclassrç   r   r  r  Ú_parse_packagesr  r   )r   r  Ú
parse_boolr  Úparse_cmdclassr0   r0   r1   rŽ   q  s2   þÿêzConfigOptionsHandler.parsersc                 C   s   | j j}t |  |¡|| j¡S rz   )r^   rY   r   r  r­   r¼   )r   rS   rY   r0   r0   r1   r  ’  s   z$ConfigOptionsHandler._parse_cmdclassc                 C   sb   ddg}|  ¡ }||vr|  |¡S |  | j di ¡¡}|j||d k| j| jd� tj	di |¤ŽS )zTParses `packages` option value.

        :param value:
        :rtype: list
        zfind:zfind_namespace:zpackages.findr   )Ú
namespacesr¼   Úfill_package_dirNr0   )
r    r¨   Úparse_section_packages__findr|   r’   r]   r¼   rY   r   Úfind_packages)r   rS   Úfind_directivesÚtrimmed_valueÚfind_kwargsr0   r0   r1   r  –  s   
ÿ
ýz$ConfigOptionsHandler._parse_packagesc                    sR   |   || j¡}g d¢‰ t‡ fdd„| ¡ D ƒƒ}| d¡}|dur'|d |d< |S )zœParses `packages.find` configuration file section.

        To be used in conjunction with _parse_packages().

        :param dict section_options:
        )ÚwhereÚincludeÚexcludec                    s$   g | ]\}}|ˆ v r|r||f‘qS r0   r0   )ri   ÚkrÒ   ©Ú
valid_keysr0   r1   r¢   º  s    zEConfigOptionsHandler.parse_section_packages__find.<locals>.<listcomp>r)  Nr   )rÕ   r¨   rM   r‚   r’   )r   rÍ   Úsection_datar(  r)  r0   r-  r1   r$  ¯  s   ÿ
z1ConfigOptionsHandler.parse_section_packages__findc                 C   s   |   || j¡}|| d< dS )z`Parses `entry_points` configuration file section.

        :param dict section_options:
        r  N)rÕ   r¨   ©r   rÍ   rc   r0   r0   r1   Úparse_section_entry_pointsÄ  s   z/ConfigOptionsHandler.parse_section_entry_pointsc                 C   s   |   || j¡}t |¡S rz   )rÕ   r¨   r   Úcanonic_package_data)r   rÍ   Úpackage_datar0   r0   r1   Ú_parse_package_dataÌ  s   
z(ConfigOptionsHandler._parse_package_datac                 C   ó   |   |¡| d< dS )z`Parses `package_data` configuration file section.

        :param dict section_options:
        r3  N©r4  ©r   rÍ   r0   r0   r1   Úparse_section_package_dataÐ  ó   z/ConfigOptionsHandler.parse_section_package_datac                 C   r5  )zhParses `exclude_package_data` configuration file section.

        :param dict section_options:
        Úexclude_package_dataNr6  r7  r0   r0   r1   Ú"parse_section_exclude_package_data×  r9  z7ConfigOptionsHandler.parse_section_exclude_package_datac                    s    ˆ   |‡ fdd„¡}|ˆ d< dS )zbParses `extras_require` configuration file section.

        :param dict section_options:
        c                    s   ˆ   d| › d�|¡S )Nzextras_require[rÚ   )r  )r,  rÒ   r�   r0   r1   r�   å  r½   zCConfigOptionsHandler.parse_section_extras_require.<locals>.<lambda>Úextras_requireNrÔ   r0  r0   r�   r1   Úparse_section_extras_requireÞ  s
   
þz1ConfigOptionsHandler.parse_section_extras_requirec                 C   s$   |   || j¡}t || j¡| d< dS )z^Parses `data_files` configuration file section.

        :param dict section_options:
        Ú
data_filesN)rÕ   r¨   r   Úcanonic_data_filesr¼   r0  r0   r0   r1   Úparse_section_data_filesê  s   z-ConfigOptionsHandler.parse_section_data_files)rŒ   rè   ré   rO   rì   r	  r   rW   r€   rí   r  r  r"   r  rî   rŽ   r  r  r$  r1  r4  r8  r;  r=  r@  r
  r0   r0   rø   r1   rV   T  s4    þýüû

 rV   c                   @   s$   e Zd ZdZdZdZedd„ ƒZdS )rq   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                 K   s"   d| j › �}| j| j| j||d�S )Nz%https://setuptools.pypa.io/en/latest/)Úsee_urlÚformat_args)Ú	_SEE_DOCSÚ_formatÚ_SUMMARYÚ_DETAILS)r…   rå   Údocsr0   r0   r1   rt     s   z_AmbiguousMarker.messageN)rŒ   rè   ré   rE  rF  rC  rí   rt   r0   r0   r0   r1   rq   ó  s    rq   c                   @   s   e Zd ZdZdS )rà   z!userguide/declarative_config.htmlN)rŒ   rè   ré   rC  r0   r0   r0   r1   rà     s    rà   )FF)r0   F)F)@rê   rÖ   rG   r8   Úcollectionsr   r   r   Útypingr   r   r   r	   r
   r   r   r   r   r   r   r   Ú_pathr   Úerrorsr   r   Úextern.packaging.markersr   rn   Úextern.packaging.requirementsr   r   Úextern.packaging.specifiersr   Úextern.packaging.versionr   r   Úwarningsr   rÃ   r   Údistutils.distr   r'   r!   ÚSingleCommandOptionsrì   r#   rM   r2   r4   r	  r)   r"   rL   r*   r@   r¤   rx   r6   rU   rV   rq   rà   r0   r0   r0   r1   Ú<module>   s|    8ÿÿ
þüÿþýü
ûýÿþ
ü.   #M  