Ë
    
_ßdë	  ã                   ó\   — d dl Zd dlZ G d„ d«      ZdZ eeed«      j                  «        y)é    Nc                   óN   — e Zd ZdZdd„Zed„ «       Zd„ Zd„ Zd„ Z	d„ Z
dd	„Zd
„ Zy)ÚVendorImporterz„
    A PEP 302 meta path importer for finding optionally-vendored
    or otherwise naturally-installed packages from root_name.
    Nc                 óh   — || _         t        |«      | _        |xs |j                  dd«      | _        y )NÚexternÚ_vendor)Ú	root_nameÚsetÚvendored_namesÚreplaceÚ
vendor_pkg)Úselfr   r
   r   s       ú</usr/lib/python3/dist-packages/setuptools/extern/__init__.pyÚ__init__zVendorImporter.__init__   s/   € Ø"ˆŒÜ! .Ó1ˆÔØ$ÒN¨	×(9Ñ(9¸(ÀIÓ(Nˆ�ó    c              #   ó6   K  — | j                   dz   –— d–— y­w)zL
        Search first the vendor package then as a natural package.
        ú.Ú N)r   ©r   s    r   Úsearch_pathzVendorImporter.search_path   s   è ø€ ð
 �o‰o Ñ#Ò#Ø‹ùs   ‚c                 ó¢   — |j                  | j                  dz   «      \  }}}| xr) t        t        |j                  | j
                  «      «      S )z,Figure out if the target module is vendored.r   )Ú	partitionr   ÚanyÚmapÚ
startswithr
   )r   ÚfullnameÚrootÚbaseÚtargets        r   Ú_module_matches_namespacez(VendorImporter._module_matches_namespace   sG   € à%×/Ñ/°·±ÀÑ0DÓEÑˆˆd�FØˆxÒLœC¤ F×$5Ñ$5°t×7JÑ7JÓ KÓLÐLr   c                 ó@  — |j                  | j                  dz   «      \  }}}| j                  D ]<  }	 ||z   }t        |«       t        j
                  |   }|t        j
                  |<   |c S  t         dj                  di t        «       ¤Ž«      ‚# t        $ r Y Œmw xY w)zK
        Iterate over the search path to locate and load fullname.
        r   z•The '{target}' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.© )	r   r   r   Ú
__import__ÚsysÚmodulesÚImportErrorÚformatÚlocals)r   r   r   r   r   ÚprefixÚextantÚmods           r   Úload_modulezVendorImporter.load_module   sµ   € ð &×/Ñ/°·±ÀÑ0DÓEÑˆˆd�FØ×&Ñ&ò 	ˆFðØ &™�Ü˜6Ô"Ü—k‘k &Ñ)�Ø(+”—‘˜HÑ%Ø’
ð	ô ð'ð  ÷ !'¡ñ3ô *0«ñ3óð øô ò Ùðús   ³7BÂ	BÂBc                 ó8   — | j                  |j                  «      S ©N)r+   Úname)r   Úspecs     r   Úcreate_modulezVendorImporter.create_module3   s   € Ø×Ñ §	¡	Ó*Ð*r   c                  ó   — y r-   r!   )r   Úmodules     r   Úexec_modulezVendorImporter.exec_module6   s   € Ør   c                 óh   — | j                  |«      r t        j                  j                  || «      S dS )z(Return a module spec for vendored names.N)r   Ú	importlibÚutilÚspec_from_loader)r   r   Úpathr   s       r   Ú	find_speczVendorImporter.find_spec9   s7   € ð ×-Ñ-¨hÔ7ô �N‰N×+Ñ+¨H°dÓ;ð	
ð ð	
r   c                 óh   — | t         j                  vr t         j                  j                  | «       yy)zR
        Install this importer into sys.meta_path if not already present.
        N)r#   Ú	meta_pathÚappendr   s    r   ÚinstallzVendorImporter.installA   s'   € ð ”s—}‘}Ñ$Ü�M‰M× Ñ  Õ&ð %r   )r!   N)NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   r   r+   r0   r3   r9   r=   r!   r   r   r   r      s@   „ ñó
Oð
 ñó ðòMò
ò,+òó
ó'r   r   )	Ú	packagingÚordered_setÚmore_itertoolsÚimportlib_metadataÚzippÚimportlib_resourcesÚjaracoÚtyping_extensionsÚtomlizsetuptools._vendor)Úimportlib.utilr5   r#   r   Únamesr>   r=   r!   r   r   ú<module>rN      s7   ðÛ Û 
÷A'ñ A'ðH
	€ñ ˆx˜Ð 4Ó 5× =Ñ =Õ ?r   