+
    =i#                        ^ RI Ht ^ RIt^ RIt^ RIHt ^ RIHt ^ RIH	t	 . ROt
Rt]! ]4      P                  t]3R R llt]^3R R	 lltR
 R ltR R ltR# )    )annotationsN)Path)	HTTPError)urlopenc               $    V ^8  d   QhRRRRRR/# )   urlstrdownload_dirr   return )formats   "Jlib/python3.14/site-packages/setuptools/tests/config/downloads/__init__.py__annotate__r      s&     H HS H H H    c                    V P                  4       p\         F@  pVP                  VR 4      P                  4       P                  R4      P                  4       pKB  	  \        V\        P
                  ! RRV4      4      # ) z/:z[^\-_\.\w\d]+_)stripNAME_REMOVEreplacer   resub)r	   r   	file_nameparts   &&  r   output_filer      sa    		I%%dB/557==dCIIK	 bff%5sIFGGr   c               (    V ^8  d   QhRRRRRRRR/# )r   r	   r
   r   r   waitfloatr   r   )r   s   "r   r   r      s)      s $ U SW r   c                6   \        W4      pVP                  4       '       d   \        R V  RV R24       V# VP                  RRR7       \        RV  RV 24        \	        W4       V#   \
         d&    \        P                  ! T4       \	        Y4        T# i ; i)z	Skipping z (already exists: )T)exist_okparentszDownloading z to )r   existsprintmkdirdownloadr   timesleep)r	   r   r   paths   &&& r   retrieve_filer+      s    s)D{{}}	#0a89 K 	D$7SEdV,-	 S K  	 JJtSK	 s   A( (,BBc                    V ^8  d   QhRRRR/# )r   	list_filer   r   z	list[str]r   )r   s   "r   r   r   +   s     L Ld Ly Lr   c                    \        RV  24       V P                  RR7      pVP                  4        Uu. uF  q"P                  R4      '       d   K  VNK  	  up# u upi )zV``list_file`` should be a text file where each line corresponds to a URL to
download.
zfile: zutf-8)encoding#)r%   	read_text
splitlines
startswith)r-   contentr	   s   &  r   urls_from_filer5   +   sT     
F9+
!!7!3G"--/K/C~~c7JCC/KKKs   AAc                    V ^8  d   QhRRRR/# )r   r	   r
   destr   r   )r   s   "r   r   r   4   s      # T r   c                H   \        V 4      ;_uu_ 4       pVP                  4       pR R R 4       \        VR4      ;_uu_ 4       pVP                  X4       R R R 4       \	        V4      P                  4       '       g   Q hR #   + '       g   i     La; i  + '       g   i     LF; i)Nwb)r   readopenwriter   r$   )r	   r7   fdatas   &&  r   r'   r'   4   sj    	vvx 
 
dD		Q	 
 : 
 
	s   A>B>B	B!	)DOWNLOAD_DIRr+   r   r5   )zhttp://zhttps://zgithub.com/z/raw/)
__future__r   r   r(   pathlibr   urllib.errorr   urllib.requestr   __all__r   __file__parentr?   r   r+   r5   r'   r   r   r   <module>rG      sT    " 	   " "
L >H~$$ 0< H 2>Q Lr   