Ë
    nûàg÷  ã                   ó°  — d dl mZ d dlmZ d dlZddlmZ  G d„ d«      Zde	d	e
d
e
ddfd„Z G d„ de
e«      Z G d„ dee«      Z G d„ dee«      ZdD ]  Z eeed«       Œ  G d„ dee«      ZdD ]  Z eeed«       Œ  G d„ dej(                  j*                  e«      Z ed«      Zdedefd„Ze
eeeeeeeiZdedefd„Zdedefd„Z e«       Z e«       Zy) é    )Úwraps)ÚTypeVarNé   )ÚSetuptoolsDeprecationWarningc                   ó    — e Zd ZU dZdZeed<   y)ÚStatica`  
    Wrapper for built-in object types that are allow setuptools to identify
    static core metadata (in opposition to ``Dynamic``, as defined :pep:`643`).

    The trick is to mark values with :class:`Static` when they come from
    ``pyproject.toml`` or ``setup.cfg``, so if any plugin overwrite the value
    with a built-in, setuptools will be able to recognise the change.

    We inherit from built-in classes, so that we don't need to change the existing
    code base to deal with the new types.
    We also should strive for immutability objects to avoid changes after the
    initial parsing.
    FÚ	_mutated_N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   ÚboolÚ__annotations__© ó    úP/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/setuptools/_static.pyr   r   	   s   … ñð €IˆtÔr   r   ÚtargetÚmethodÚcopyingÚreturnc                 ó†   ‡‡— t        | |d«      Š‰€yt        ‰«      dt        fˆˆfd„«       }d|_        t	        | ||«       y)a	  
    Because setuptools is very flexible we cannot fully prevent
    plugins and user customisations from modifying static values that were
    parsed from config files.
    But we can attempt to block "in-place" mutations and identify when they
    were done.
    NÚselfc                 ób   •— d| _         t        j                  dd‰› d�d¬«        ‰| g|¢­i |¤ŽS )NTz/Direct modification of value will be disallowedzæ
            In an effort to implement PEP 643, direct/in-place changes of static values
            that come from configuration files are deprecated.
            If you need to modify this value, please first create a copy with z¸
            and make sure conform to all relevant standards when overriding setuptools
            functionality (https://packaging.python.org/en/latest/specifications/).
            )ié  é
   r   )Údue_date)r	   r   Úemit)r   ÚargsÚkwargsr   Úfns      €€r   Ú_replacementz+_prevent_modification.<locals>._replacement'   sS   ø€ ð ˆŒÜ$×)Ñ)Ø=ðOð PWÈið Xðð $õ
	
ñ �$Ð(˜Ò( Ñ(Ð(r   Ú )Úgetattrr   r   r   Úsetattr)r   r   r   r    r   s     ` @r   Ú_prevent_modificationr$      sN   ù€ ô 
�˜ Ó	&€BØ	€zØä
ˆ2ƒYð)œ6õ )ó ð)ð" €LÔÜˆF�F˜LÕ)r   c                   ó   — e Zd Zy)ÚStrN©r
   r   r   r   r   r   r&   r&   =   ó   „ Ør   r&   c                   ó   — e Zd Zy)ÚTupleNr'   r   r   r   r*   r*   A   r(   r   r*   c                   ó   — e Zd ZdZy)ÚLista£  
    :meta private:
    >>> x = List([1, 2, 3])
    >>> is_static(x)
    True
    >>> x += [0]  # doctest: +IGNORE_EXCEPTION_DETAIL
    Traceback (most recent call last):
    SetuptoolsDeprecationWarning: Direct modification ...
    >>> is_static(x)  # no longer static after modification
    False
    >>> y = list(x)
    >>> y.clear()
    >>> y
    []
    >>> y == x
    False
    >>> is_static(List(y))
    True
    N©r
   r   r   r   r   r   r   r,   r,   E   s   „ òr   r,   )
Ú__delitem__Ú__iadd__Ú__setitem__ÚappendÚclearÚextendÚinsertÚremoveÚreverseÚpopz`list(value)`c                   ó   — e Zd ZdZy)ÚDictaÇ  
    :meta private:
    >>> x = Dict({'a': 1, 'b': 2})
    >>> is_static(x)
    True
    >>> x['c'] = 0  # doctest: +IGNORE_EXCEPTION_DETAIL
    Traceback (most recent call last):
    SetuptoolsDeprecationWarning: Direct modification ...
    >>> x._mutated_
    True
    >>> is_static(x)  # no longer static after modification
    False
    >>> y = dict(x)
    >>> y.popitem()
    ('b', 2)
    >>> y == x
    False
    >>> is_static(Dict(y))
    True
    Nr-   r   r   r   r9   r9   l   s   „ òr   r9   )r.   Ú__ior__r0   r2   r7   ÚpopitemÚ
setdefaultÚupdatez`dict(value)`c                   ó   — e Zd ZdZy)ÚSpecifierSetz>Not exactly a built-in type but useful for ``requires-python``Nr-   r   r   r   r?   r?   ‘   s   „ ÚHr   r?   ÚTÚvaluec                 ó   — | S )z
    >>> noop(42)
    42
    r   ©rA   s    r   ÚnooprD   ˜   s	   € ð
 €Lr   c                 óR   — t        j                  t        | «      t        «      | «      S )zc
    >>> is_static(attempt_conversion("hello"))
    True
    >>> is_static(object())
    False
    )Ú_CONVERSIONSÚgetÚtyperD   rC   s    r   Úattempt_conversionrI   £   s    € ô ×ÑœD ›K¬Ó.¨uÓ5Ð5r   c                 ó@   — t        | t        «      xr | j                   S )z°
    >>> is_static(a := Dict({'a': 1}))
    True
    >>> is_static(dict(a))
    False
    >>> is_static(b := List([1, 2, 3]))
    True
    >>> is_static(list(b))
    False
    )Ú
isinstancer   r	   rC   s    r   Ú	is_staticrL   ­   s   € ô �eœVÓ$Ò<¨U¯_©_Ð)<Ð<r   )Ú	functoolsr   Útypingr   Úpackaging.specifiersÚ	packagingÚwarningsr   r   rH   Ústrr$   r&   Útupler*   Úlistr,   Ú_methodÚdictr9   Ú
specifiersr?   r@   rD   rF   rI   Úobjectr   rL   Ú
EMPTY_LISTÚ
EMPTY_DICTr   r   r   ú<module>r[      s;  ðÝ Ý ã å 2÷ñ ð$* $ð *°ð *¸cð *Àdó *ôD	ˆ#ˆvô 	ô	ˆE�6ô 	ôˆ4�ô ð0ò :€Gñ ˜$ ¨Õ9ð:ôˆ4�ô ð0	ò 
:€Gñ ˜$ ¨Õ9ð
:ôI�9×'Ñ'×4Ñ4°fô Iñ ˆCƒL€ð�ð �aó ð �S˜% ¨¨d°D¸$Ð?€ð6˜að 6 Aó 6ð=�Vð = ó =ñ ‹V€
Ù‹V�
r   