Ë
     täi
O  ã                  ó  — U d Z ddl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Zddl	Z	ddl
Z
ddlZddlmZmZmZ ddlmZ ddlmZmZmZ ddlZddlmZ dd	lmZmZ dd
lmZ ddlmZ ddlZddl m!Z! erddl"m#Z# g d¢Z$ G d„ de%«      Z& G d„ dejN                  jP                  «      Z(ejR                  d„ «       Z*d„ Z+d"d„Z,d„ Z-ejR                  d„ «       Z.eee/ee/e0e/   df   f   df   Z1de2d<   	  G d„ d«      Z3 G d„ de3«      Z4 G d„ de4«      Z5 G d „ d!e«      Z6 e4«       Z7e7jp                  Z8e7jr                  Z9e7jt                  Z:e7jv                  Z;e7jx                  Z<e7jz                  Z=e7j|                  Z>e7j~                  Z? e5«       Z@y)#a'  A PEP 517 interface to setuptools

Previously, when a user or a command line tool (let's call it a "frontend")
needed to make a request of setuptools to take a certain action, for
example, generating a list of installation requirements, the frontend
would call "setup.py egg_info" or "setup.py bdist_wheel" on the command line.

PEP 517 defines a different method of interfacing with setuptools. Rather
than calling "setup.py" directly, the frontend should:

  1. Set the current directory to the directory with a setup.py file
  2. Import this module into a safe python interpreter (one in which
     setuptools can potentially set global variables or crash hard).
  3. Call one of the functions defined in PEP 517.

What each function does is defined in PEP 517. However, here is a "casual"
definition of the functions (this definition should not be relied on for
bug reports or API stability):

  - `build_wheel`: build a wheel in the folder and return the basename
  - `get_requires_for_build_wheel`: get the `setup_requires` to build
  - `prepare_metadata_for_build_wheel`: get the `install_requires`
  - `build_sdist`: build an sdist in the folder and return the basename
  - `get_requires_for_build_sdist`: get the `setup_requires` to build

Again, this is not a formal definition! Just a "taste" of the module.
é    )ÚannotationsN)ÚIterableÚIteratorÚMapping)ÚPath)ÚTYPE_CHECKINGÚNoReturnÚUnioné   )Úerrors)ÚStrPathÚ	same_path)Úparse_strings)ÚSetuptoolsDeprecationWarning)Ú	strtobool)Ú	TypeAlias)
Úget_requires_for_build_sdistÚget_requires_for_build_wheelÚ prepare_metadata_for_build_wheelÚbuild_wheelÚbuild_sdistÚget_requires_for_build_editableÚ#prepare_metadata_for_build_editableÚbuild_editableÚ
__legacy__ÚSetupRequirementsErrorc                  ó   — e Zd Zdd„Zy)r   c                ó   — || _         y ©N)Ú
specifiers)Úselfr    s     úd/Volumes/fast/ai/experiments/MLX_z-image/.venv/lib/python3.12/site-packages/setuptools/build_meta.pyÚ__init__zSetupRequirementsError.__init__H   s	   € Ø$ˆ�ó    N)ÚreturnÚNone)Ú__name__Ú
__module__Ú__qualname__r#   © r$   r"   r   r   G   s   „ ô%r$   r   c                  óD   — e Zd Zdd„Zeej                  dd„«       «       Zy)ÚDistributionc                ó@   — t        t        |«      «      }t        |«      ‚r   )Úlistr   r   )r!   r    Úspecifier_lists      r"   Úfetch_build_eggszDistribution.fetch_build_eggsM   s   € Üœm¨JÓ7Ó8ˆä$ ^Ó4Ð4r$   c              #  óÒ   K  — t         j                  j                  }| t         j                  _        	 d–— |t         j                  _        y# |t         j                  _        w xY w­w)zw
        Replace
        distutils.dist.Distribution with this class
        for the duration of this context.
        N)Ú	distutilsÚcorer,   )ÚclsÚorigs     r"   ÚpatchzDistribution.patchR   sC   è ø€ ô �~‰~×*Ñ*ˆØ&)Œ	�‰Ô#ð	/Ûà*.ŒI�N‰NÕ'ø¨$ŒI�N‰NÕ'üs   ‚0A'³A ·A'ÁA$Á$A'N)r%   r	   )r%   zIterator[None])r'   r(   r)   r0   ÚclassmethodÚ
contextlibÚcontextmanagerr6   r*   r$   r"   r,   r,   L   s)   „ ó5ð
 Ø×Ñò/ó ó ñ/r$   r,   c               #  ó„   K  — t         j                  } d„ t         _        	 d–— | t         _        y# | t         _        w xY w­w)a
  Temporarily disable installing setup_requires

    Under PEP 517, the backend reports build dependencies to the frontend,
    and the frontend is responsible for ensuring they're installed.
    So setuptools (acting as a backend) should not try to install them.
    c                 ó   — y r   r*   )Úattrss    r"   Ú<lambda>z+no_install_setup_requires.<locals>.<lambda>k   s   € °tr$   N)Ú
setuptoolsÚ_install_setup_requires)r5   s    r"   Úno_install_setup_requiresr@   b   s3   è ø€ ô ×-Ñ-€DÙ);„JÔ&ð2Ûà-1Œ
Õ*ø¨TŒ
Õ*üs   ‚A  0 ¤A °=½A c           	     óÎ   — t        j                  | «      D �cg c]B  }t         j                  j                  t         j                  j	                  | |«      «      sŒA|‘ŒD c}S c c}w r   )ÚosÚlistdirÚpathÚisdirÚjoin)Úa_dirÚnames     r"   Ú_get_immediate_subdirectoriesrI   r   sL   € äŸ™ EÔ*óÙ*�¬b¯g©g¯m©m¼B¿G¹G¿L¹LÈÐPTÓ<UÕ.VŠÐ*ñð ùò s   ˜AA"ÁA"c                ó€   ‡— ˆfd„t        j                  | «      D «       }	 |\  }|S # t        $ r t        d«      d ‚w xY w)Nc              3  óF   •K  — | ]  }|j                  ‰«      sŒ|–— Œ y ­wr   )Úendswith)Ú.0ÚfÚ	extensions     €r"   Ú	<genexpr>z'_file_with_extension.<locals>.<genexpr>y   s   øè ø€ ÐJÑ0�a°A·J±J¸yÕ4I”Ñ0ùs   ƒ!š!z[No distribution was found. Ensure that `setup.py` is not empty and that it calls `setup()`.)rB   rC   Ú
ValueError)Ú	directoryrO   ÚmatchingÚfiles    `  r"   Ú_file_with_extensionrU   x   sQ   ø€ ÛJœ2Ÿ:™: iÔ0ÓJ€HðØ‰ˆð €Køô ò Üð8ó
ð ð	ðús   ¡' §=c                ó”   — t         j                  j                  | «      st        j                  d«      S t        j                  | «      S )Nz%from setuptools import setup; setup())rB   rD   ÚexistsÚioÚStringIOÚtokenizeÚopen©Úsetup_scripts    r"   Ú_open_setup_scriptr^   „   s1   € Ü�7‰7�>‰>˜,Ô'ä�{‰{ÐBÓCÐCä�=‰=˜Ó&Ð&r$   c               #  ó’   K  — t        j                  «       5  t        j                  dd«       d –— d d d «       y # 1 sw Y   y xY w­w)NÚignorezsetup.py install is deprecated)ÚwarningsÚcatch_warningsÚfilterwarningsr*   r$   r"   Úsuppress_known_deprecationrd   Œ   s1   è ø€ ä	×	 Ñ	 Õ	"Ü×Ñ Ð*JÔKÛ÷ 
#×	"Ñ	"üs   ‚A—;²	A»AÁ Ar   Ú_ConfigSettingsc                  ó8   — e Zd ZdZdd„Zd	d„Zd	d„Zd	d„Zd	d„Zy)
Ú_ConfigSettingsTranslatorz‡Translate ``config_settings`` into distutils-style command arguments.
    Only a limited number of options is currently supported.
    c                ó†   — |xs i }|j                  |«      xs g }t        |t        «      rt        j                  |«      S |S )aA  
        Get the value of a specific key in ``config_settings`` as a list of strings.

        >>> fn = _ConfigSettingsTranslator()._get_config
        >>> fn("--global-option", None)
        []
        >>> fn("--global-option", {})
        []
        >>> fn("--global-option", {'--global-option': 'foo'})
        ['foo']
        >>> fn("--global-option", {'--global-option': ['foo']})
        ['foo']
        >>> fn("--global-option", {'--global-option': 'foo'})
        ['foo']
        >>> fn("--global-option", {'--global-option': 'foo bar'})
        ['foo', 'bar']
        )ÚgetÚ
isinstanceÚstrÚshlexÚsplit)r!   ÚkeyÚconfig_settingsÚcfgÚoptss        r"   Ú_get_configz%_ConfigSettingsTranslator._get_configª   s=   € ð$ Ò# ˆØ�w‰w�s‹|Ò!˜rˆÜ$.¨t´SÔ$9Œu�{‰{˜4Ó ÐC¸tÐCr$   c              #  óœ  K  — |xs i }h d£}d|v sd|v rIt        |j                  d«      xs |j                  d«      xs d«      }|j                  «       |v rdnd–— d|v sd|v rIt        |j                  d«      xs |j                  d«      xs d«      }|j                  «       |v rdnd–— | j                  d	|«      E d
{  –—†  y
7 Œ­w)a¯  
        Let the user specify ``verbose`` or ``quiet`` + escape hatch via
        ``--global-option``.
        Note: ``-v``, ``-vv``, ``-vvv`` have similar effects in setuptools,
        so we just have to cover the basic scenario ``-v``.

        >>> fn = _ConfigSettingsTranslator()._global_args
        >>> list(fn(None))
        []
        >>> list(fn({"verbose": "False"}))
        ['-q']
        >>> list(fn({"verbose": "1"}))
        ['-v']
        >>> list(fn({"--verbose": None}))
        ['-v']
        >>> list(fn({"verbose": "true", "--global-option": "-q --no-user-cfg"}))
        ['-v', '-q', '--no-user-cfg']
        >>> list(fn({"--quiet": None}))
        ['-q']
        >   Ú0ÚnoÚoffÚfalseÚverbosez	--verboseÚ1z-qz-vÚquietz--quietz--global-optionN)rk   ri   Úlowerrr   )r!   ro   rp   ÚfalseyÚlevels        r"   Ú_global_argsz&_ConfigSettingsTranslator._global_argsÀ   sÁ   è ø€ ð* Ò# ˆÚ,ˆØ˜Ñ˜{¨cÑ1Ü˜Ÿ™ 	Ó*ÒI¨c¯g©g°kÓ.BÒIÀcÓJˆEØ Ÿ;™;›=¨FÑ2‘4¸Ò=Ø�c‰>˜Y¨#Ñ-Ü˜Ÿ™ Ó(ÒE¨C¯G©G°IÓ,>ÒEÀ#ÓFˆEØ Ÿ;™;›=¨FÑ2‘4¸Ò=à×#Ñ#Ð$5°ÓG×GÒGús   ‚CCÃC
ÃCc              #  ó¤   K  — |xs i }d|v r#t        t        |d   xs d«      «      }|rdnd–— d|v rdt        |d   «      gE d{  –—†  yy7 Œ­w)aÀ  
        The ``dist_info`` command accepts ``tag-date`` and ``tag-build``.

        .. warning::
           We cannot use this yet as it requires the ``sdist`` and ``bdist_wheel``
           commands run in ``build_sdist`` and ``build_wheel`` to reuse the egg-info
           directory created in ``prepare_metadata_for_build_wheel``.

        >>> fn = _ConfigSettingsTranslator()._ConfigSettingsTranslator__dist_info_args
        >>> list(fn(None))
        []
        >>> list(fn({"tag-date": "False"}))
        ['--no-date']
        >>> list(fn({"tag-date": None}))
        ['--no-date']
        >>> list(fn({"tag-date": "true", "tag-build": ".a"}))
        ['--tag-date', '--tag-build', '.a']
        ztag-daterw   z
--tag-datez	--no-datez	tag-buildz--tag-buildN)r   rk   )r!   ro   rp   Úvals       r"   Ú__dist_info_argsz*_ConfigSettingsTranslator.__dist_info_argsà   sd   è ø€ ð& Ò# ˆØ˜ÑÜœC  J¡Ò :°7Ó;Ó<ˆCÙ#&‘<¨KÒ8Ø˜#ÑØ%¤s¨3¨{Ñ+;Ó'<Ð=×=Ñ=ð Ø=ús   ‚AAÁAÁAc              #  ó”   K  — |xs i }|j                  d«      xs |j                  d«      }|sydt        |«      gE d{  –—†  y7 Œ­w)a  
        The ``editable_wheel`` command accepts ``editable-mode=strict``.

        >>> fn = _ConfigSettingsTranslator()._editable_args
        >>> list(fn(None))
        []
        >>> list(fn({"editable-mode": "strict"}))
        ['--mode', 'strict']
        zeditable-modeÚeditable_modeNz--mode)ri   rk   )r!   ro   rp   Úmodes       r"   Ú_editable_argsz(_ConfigSettingsTranslator._editable_argsú   sF   è ø€ ð Ò# ˆØ�w‰w�Ó'ÒC¨3¯7©7°?Ó+CˆÙØØœc $›iÐ(×(Ò(ús   ‚>AÁ AÁAc              #  óD   K  — | j                  d|«      E d{  –—†  y7 Œ­w)av  
        Users may expect to pass arbitrary lists of arguments to a command
        via "--global-option" (example provided in PEP 517 of a "escape hatch").

        >>> fn = _ConfigSettingsTranslator()._arbitrary_args
        >>> list(fn(None))
        []
        >>> list(fn({}))
        []
        >>> list(fn({'--build-option': 'foo'}))
        ['foo']
        >>> list(fn({'--build-option': ['foo']}))
        ['foo']
        >>> list(fn({'--build-option': 'foo'}))
        ['foo']
        >>> list(fn({'--build-option': 'foo bar'}))
        ['foo', 'bar']
        >>> list(fn({'--global-option': 'foo'}))
        []
        z--build-optionN)rr   ©r!   ro   s     r"   Ú_arbitrary_argsz)_ConfigSettingsTranslator._arbitrary_args
  s   è ø€ ð* ×#Ñ#Ð$4°oÓF×FÒFús   ‚ ˜™ N)rn   rk   ro   re   r%   ú	list[str])ro   re   r%   zIterator[str])	r'   r(   r)   Ú__doc__rr   r~   Ú)_ConfigSettingsTranslator__dist_info_argsr…   rˆ   r*   r$   r"   rg   rg   £   s$   „ ñóDó,Hó@>ó4)ô Gr$   rg   c                  ó  — e Zd Z	 	 	 	 dd„Zddd„Z	 d	 	 	 dd„Z	 d	 	 	 dd„Z	 	 	 	 	 	 dd„Zdd„Z	 d	 	 	 	 	 dd„Z		 d	 	 	 	 	 	 	 	 	 dd	„Z
	 	 d	 	 	 	 	 	 	 dd
„Z	 d	 	 	 	 	 dd„Zdd„Z	 	 d	 	 	 	 	 	 	 dd„Z	 d	 	 	 dd„Z	 d	 	 	 	 	 dd„Zy)Ú_BuildMetaBackendc                ó*  — g t         j                  d d ¢| j                  |«      ¢d‘t         _        	 t        j	                  «       5  | j                  «        d d d «       |S # 1 sw Y   |S xY w# t        $ r}||j                  z  }Y d }~|S d }~ww xY w)Nr   Úegg_info)ÚsysÚargvr~   r,   r6   Ú	run_setupr   r    )r!   ro   ÚrequirementsÚes       r"   Ú_get_build_requiresz%_BuildMetaBackend._get_build_requires#  s•   € ð
Ü�X‰X�b�qˆ\ð
à×Ñ˜Ó/ð
ð ð
ŒŒð
	)Ü×#Ñ#Õ%Ø—‘Ô ÷ &ð
 Ð÷ &ð
 Ðûô &ò 	)Ø˜AŸL™LÑ(ŒLàÐûð	)ús5   ³A/ ÁA"ÁA/ Á"A,Á'A/ Á,A/ Á/	BÁ8BÂBc                óf  — t         j                  j                  |«      }d}t        |«      5 }|j	                  «       j                  dd«      }d d d «       	 t        t        «       «       y # 1 sw Y   ŒxY w# t        $ r/}|j                  r‚ t        j                  ddd¬«       Y d }~y d }~ww xY w)NÚ__main__z\r\nz\nz6Running `setup.py` directly as CLI tool is deprecated.znPlease avoid using `sys.exit(0)` or similar statements that don't fit in the paradigm of a configuration file.zAhttps://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)Úsee_url)rB   rD   Úabspathr^   ÚreadÚreplaceÚexecÚlocalsÚ
SystemExitÚcoder   Úemit)r!   r]   Ú__file__r'   rN   rŸ   r”   s          r"   r’   z_BuildMetaBackend.run_setup3  s˜   € ô —7‘7—?‘? <Ó0ˆØˆä Ô)¨QØ—6‘6“8×#Ñ# G¨UÓ3ˆD÷ *ð	Ü�”v“xÕ ÷	 *Ð)ûô
 ò 
	Ø�vŠvØä(×-Ñ-ØHðJð+÷	ò ûð	
	ús#   ­!A,ÁA8 Á,A5Á8	B0Â%B+Â+B0Nc                ó(   — | j                  |g ¬«      S ©N)r“   ©r•   r‡   s     r"   r   z._BuildMetaBackend.get_requires_for_build_wheelJ  ó   € ð ×'Ñ'¨ÀbÐ'ÓIÐIr$   c                ó(   — | j                  |g ¬«      S r£   r¤   r‡   s     r"   r   z._BuildMetaBackend.get_requires_for_build_sdistO  r¥   r$   c                ó¨   — | j                  ||«      }t        |j                  |«      st        j                  t        |«      |«       |j                  S )zò
        PEP 517 requires that the .dist-info directory be placed in the
        metadata_directory. To comply, we MUST copy the directory to the root.

        Returns the basename of the info directory, e.g. `proj-0.0.0.dist-info`.
        )Ú_find_info_directoryr   ÚparentÚshutilÚmoverk   rH   )r!   Úmetadata_directoryÚsuffixÚinfo_dirs       r"   Ú_bubble_up_info_directoryz+_BuildMetaBackend._bubble_up_info_directoryT  sC   € ð ×,Ñ,Ð-?ÀÓHˆÜ˜Ÿ™Ð*<Ô=Ü�K‰Kœ˜H›Ð'9Ô:à�}‰}Ðr$   c                ól  — t        j                  |«      D ]{  \  }}}|D �cg c]  }|j                  |«      sŒ|‘Œ }}t        |«      dk7  st        |«      dk7  sŒEt        |«      dk(  sJ d|› dt        |«      › d|› �«       ‚t	        ||d   «      c S  d|› d|› �}t        j                  |«      ‚c c}w )Nr   r   zExactly one z& should have been produced, but found z: zNo z directory found in )rB   ÚwalkrL   Úlenr   r   ÚInternalError)	r!   r¬   r­   r©   ÚdirsÚ_rN   Ú
candidatesÚmsgs	            r"   r¨   z&_BuildMetaBackend._find_info_directoryc  sÍ   € Ü!Ÿw™wÐ'9Ö:‰OˆF�D˜!Ù%)Ó@¡T ¨Q¯Z©Z¸Õ-?š! TˆJÐ@ä�:‹ !Ò#¤s¨4£y°A£~Ü˜:“¨!Ò+ð Ø" 6 (Ð*PÔQTÐU_ÓQ`ÐPaÐacÐdnÐcoÐpóÐ+ô ˜F J¨q¡MÓ2Ò2ð  ;ð �F�8Ð/Ð0BÐ/CÐDˆÜ×"Ñ" 3Ó'Ð'ùò As
   ¡B1¸B1c                ó(  — g t         j                  d d ¢| j                  |«      ¢d‘d‘t        |«      ‘d‘t         _        t	        «       5  | j                  «        d d d «       | j                  |d«       | j                  |d«      S # 1 sw Y   Œ-xY w)Nr   Ú	dist_infoz--output-dirz--keep-egg-infoz	.egg-infoz
.dist-info)r�   r‘   r~   rk   r@   r’   r¯   ©r!   r¬   ro   s      r"   r   z2_BuildMetaBackend.prepare_metadata_for_build_wheelp  s¥   € ð
Ü�X‰X�b�qˆ\ð
à×Ñ˜Ó/ð
ð ð
ð ð	
ô
 Ð"Ó#ð
ð ð
ŒŒô 'Õ(Ø�N‰NÔ÷ )ð 	×&Ñ&Ð'9¸;ÔGØ×-Ñ-Ð.@À,ÓOÐO÷	 )Ð(ús   ÁBÂBc                óÀ  — t         j                  j                  |«      }t        j                  |d¬«       t	        j
                  d|¬«      5 }g t        j                  d d ¢| j                  |«      ¢|¢d‘|‘|¢t        _        t        «       5  | j                  «        d d d «       t        ||«      }t         j                  j                  ||«      }t         j                  j                  |«      rt        j                  |«       t        j                  t         j                  j                  ||«      |«       d d d «       |S # 1 sw Y   Œ§xY w# 1 sw Y   S xY w)NT)Úexist_okz.tmp-)ÚprefixÚdirr   z
--dist-dir)rB   rD   r™   ÚmakedirsÚtempfileÚTemporaryDirectoryr�   r‘   r~   r@   r’   rU   rF   rW   ÚremoveÚrename)	r!   Úsetup_commandÚresult_extensionÚresult_directoryro   Úarbitrary_argsÚtmp_dist_dirÚresult_basenameÚresult_paths	            r"   Ú_build_with_temp_dirz&_BuildMetaBackend._build_with_temp_dir�  s.  € ô Ÿ7™7Ÿ?™?Ð+;Ó<Ðô 	�‰Ð$¨tÕ4ä×(Ñ(ØÐ 0õ
àðÜ—‘˜"˜1�ðà×"Ñ" ?Ó3ðð ðð ð	ð
 ðð  ðŒCŒHô +Õ,Ø—‘Ô ÷ -ô 3°<ÐAQÓRˆOÜŸ'™'Ÿ,™,Ð'7¸ÓIˆKÜ�w‰w�~‰~˜kÔ*ä—	‘	˜+Ô&Ü�I‰I”b—g‘g—l‘l <°ÓAÀ;ÔO÷'
ð* Ð÷ -Ð,ú÷
ð* Ðús&   ÁAEÂEÂ!BEÅE	ÅEÅEc                óÚ   ‡ ‡‡— dˆˆ ˆfd„}|€	 |dg«      S 	  |ddt        |«      g«      S # t        $ r5}dt        |«      vr‚ t        j                  «         |dg«      cY d }~S d }~ww xY w)Nc           
     óŒ   •— t        «       5  ‰j                  | d‰‰‰j                  ‰«      «      cd d d «       S # 1 sw Y   y xY w)Nú.whl)rd   rË   rˆ   )Úcmdro   r!   Úwheel_directorys    €€€r"   Ú_buildz-_BuildMetaBackend.build_wheel.<locals>._build«  s=   ø€ Ü+Õ-Ø×0Ñ0ØØØ#Ø#Ø×(Ñ(¨Ó9ó÷ .×-Ò-ús	   Œ$:ºAÚbdist_wheelú--dist-info-dirz--dist-info-dir not recognized)rÏ   r‰   )rk   rž   Ú_IncompatibleBdistWheelr    )r!   rÐ   ro   r¬   rÑ   Úexs   ```   r"   r   z_BuildMetaBackend.build_wheel¥  ss   ú€ ÷	ð Ð%Ù˜=˜/Ó*Ð*ð	+Ù˜=Ð*;¼SÐASÓ=TÐUÓVÐVøÜò 	+à/´s¸2³wÑ>ØÜ#×(Ñ(Ô*Ù˜=˜/Ó*Õ*ûð	+ús   ˜, ¬	A*µ*A%ÁA*Á%A*c                ó.   — | j                  g d¢d||«      S )N)Úsdistz	--formatsÚgztarz.tar.gz)rË   )r!   Úsdist_directoryro   s      r"   r   z_BuildMetaBackend.build_sdistÁ  s    € ð ×(Ñ(Ú+¨Y¸Èó
ð 	
r$   c                ó’   — |sy t        t        |«      j                  d«      «      }t        |«      dk  sJ ‚|rt	        |d   «      S d S )Nz*.dist-infor   r   )r.   r   Úglobr²   rk   )r!   r¬   Údist_info_candidatess      r"   Ú_get_dist_info_dirz$_BuildMetaBackend._get_dist_info_dirÈ  sP   € Ù!ØÜ#¤DÐ);Ó$<×$AÑ$AÀ-Ó$PÓQÐÜÐ'Ó(¨AÒ-Ð-Ð-Ù/CŒsÐ'¨Ñ*Ó+ÐMÈÐMr$   c                óÈ   — | j                  |«      }|rd|gng }dg|¢| j                  |«      ¢}t        «       5  | j                  |d||«      cd d d «       S # 1 sw Y   y xY w)NrÓ   Úeditable_wheelrÎ   )rÝ   r…   rd   rË   )r!   rÐ   ro   r¬   r®   rq   rÏ   s          r"   r   z _BuildMetaBackend.build_editableÏ  sj   € ð ×*Ñ*Ð+=Ó>ˆÙ08Ð! 8Ñ,¸bˆØÐN $ÐN¨×)<Ñ)<¸_Ó)MÐNˆÜ'Õ)Ø×,Ñ,Ø�V˜_¨oó÷ *×)Ò)ús   ºAÁA!c                ó$   — | j                  |«      S r   )r   r‡   s     r"   r   z1_BuildMetaBackend.get_requires_for_build_editableÞ  s   € ð ×0Ñ0°ÓAÐAr$   c                ó&   — | j                  ||«      S r   )r   rº   s      r"   r   z5_BuildMetaBackend.prepare_metadata_for_build_editableã  s   € ð ×4Ñ4Ø ó
ð 	
r$   )ro   re   r“   r‰   ©zsetup.py©r]   rk   r%   r&   r   )ro   re   r%   r‰   )r¬   r   r­   rk   r%   rk   )r¬   r   r­   rk   r%   r   )r¬   r   ro   re   r%   rk   )r*   )
rÄ   úIterable[str]rÅ   ústr | tuple[str, ...]rÆ   r   ro   re   rÇ   rä   )NN)rÐ   r   ro   re   r¬   úStrPath | Noner%   rk   )rÙ   r   ro   re   r%   rk   )r¬   ræ   r%   z
str | None)r'   r(   r)   r•   r’   r   r   r¯   r¨   r   rË   r   r   rÝ   r   r   r   r*   r$   r"   r�   r�   "  s¬  „ ðØ.ðØ>Góô ð0 26ðJØ.ðJà	óJð 26ðJØ.ðJà	óJð
Ø")ðØ36ðà	óó(ð OSðPØ")ðPØ<KðPà	óPð. )+ð"à$ð"ð 0ð"ð "ð	"ð
 )ð"ð &ó"ðN ,0Ø-1ð	+à ð+ð )ð+ð +ð	+ð
 
ó+ð: LPð
Ø&ð
Ø9Hð
à	ó
óNð ,0Ø-1ð	à ðð )ðð +ð	ð
 
óð  26ðBØ.ðBà	óBð OSð
Ø")ð
Ø<Kð
à	ô
r$   r�   c                  ó&   ‡ — e Zd ZdZddˆ fd„Zˆ xZS )Ú_BuildMetaLegacyBackendaO  Compatibility backend for setuptools

    This is a version of setuptools.build_meta that endeavors
    to maintain backwards
    compatibility with pre-PEP 517 modes of invocation. It
    exists as a temporary
    bridge between the old packaging mechanism and the new
    packaging mechanism,
    and will eventually be removed.
    c                ó$  •— t        t        j                  «      }t        j                  j	                  t        j                  j                  |«      «      }|t        j                  vr t        j                  j                  d|«       t        j                  d   }|t        j                  d<   	 t        ‰| �%  |¬«       |t        j                  d d  |t        j                  d<   y # |t        j                  d d  |t        j                  d<   w xY w)Nr   r\   )
r.   r�   rD   rB   Údirnamer™   Úinsertr‘   Úsuperr’   )r!   r]   Úsys_pathÚ
script_dirÚ
sys_argv_0Ú	__class__s        €r"   r’   z!_BuildMetaLegacyBackend.run_setup÷  sº   ø€ ô œŸ™“>ˆä—W‘W—_‘_¤R§W¡W§_¡_°\Ó%BÓCˆ
ØœSŸX™XÑ%Ü�H‰H�O‰O˜A˜zÔ*ô
 —X‘X˜a‘[ˆ
Ø"Œ�‰�‰ð		%Ü‰GÑ¨<ÐÔ8ð #ŒC�H‰H‘QˆKØ$ŒC�H‰H�QŠKøð #ŒC�H‰H‘QˆKØ$ŒC�H‰H�QŠKús   Â0C' Ã'(Drâ   rã   )r'   r(   r)   rŠ   r’   Ú__classcell__)rð   s   @r"   rè   rè   ë  s   ø„ ñ	÷%ò %r$   rè   c                  ó   — e Zd ZdZdZdZdZy)rÔ   zAwheel.bdist_wheel is deprecated, please import it from setuptoolsz|
    Ensure that any custom bdist_wheel implementation is a subclass of
    setuptools.command.bdist_wheel.bdist_wheel.
    )ié  é
   é   z&https://github.com/pypa/wheel/pull/631N)r'   r(   r)   Ú_SUMMARYÚ_DETAILSÚ	_DUE_DATEÚ_SEE_URLr*   r$   r"   rÔ   rÔ     s   „ ØR€Hð€Hð €Ià7�Hr$   rÔ   )rR   r   rO   rå   )ArŠ   Ú
__future__r   r8   rX   rB   rl   rª   r�   rÀ   rZ   ra   Úcollections.abcr   r   r   Úpathlibr   Útypingr   r	   r
   r>   Ú r   Ú_pathr   r   Ú_reqsr   r   r2   Údistutils.utilr   Útyping_extensionsr   Ú__all__ÚBaseExceptionr   Údistr,   r9   r@   rI   rU   r^   rd   rk   r.   re   Ú__annotations__rg   r�   rè   rÔ   Ú_BACKENDr   r   r   r   r   r   r   r   r   r*   r$   r"   Ú<module>r     s   ðòõ8 #ã Û 	Û 	Û Û Û 
Û Û Û ß 7Ñ 7Ý ß 1Ñ 1ã å ß %Ý  Ý 2ã Ý $áÝ+ò€ô%˜]ô %ô
/�:—?‘?×/Ñ/ô /ð, ×Ññ2ó ð2òó	ò'ð ×Ññó ðð # 7¨3°°c¸4À¹9ÀdÐ6JÑ0KÐ+KÑ#LÈdÐ#RÑS€�Ó Sð÷|Gñ |Gô~F
Ð1ô F
ôR%%Ð/ô %%ôP8Ð:ô 8ñ Ó€à'×DÑDÐ Ø'×DÑDÐ Ø#+×#LÑ#LÐ  Ø×"Ñ"€Ø×"Ñ"€Ø"*×"JÑ"JÐ Ø&.×&RÑ&RÐ #Ø×(Ñ(€ñ %Ó&�
r$   