<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
Pf@              0   @   s   d Z ddlmZmZ ddlZddlZddlmZ yddlm	Z
 W n  ek
r`   ddlm	Z
 Y nX yddlmZ W n  ek
r   ddlmZ Y nX yddlZW nR ek
r   yddlmZ W n, ek
r   ddlZeje_eje_Y nX Y nX yddlZdd	 ZW n* ek
r2   dd
lmZ dd	 ZY nX ddddddddddg
Zejd.krjdZddlmZ n$ddlZe edZerejZndZejd/krdd Z!d0ddZ"ndd Z!d1ddZ"d d! Z#d"d Z$d#d$ Z%d2Z&ejd3kre&d47 Z&ej'j(d*pej'd+koej)d,kZ*d-d Z+dS )5zKStuff that differs in different Python versions and platform
distributions.    )absolute_importdivisionN)	text_type)
dictConfig)OrderedDict)	ipaddressc              C   s"   t jdt jdg} ttt| S )Nstdlib
platstdlib)	sysconfigget_pathsetfilterbool)paths r   /usr/lib/python3.6/__init__.py
get_stdlib"   s    r   )r
   c              C   s(   t jddt jdddg} ttt| S )NT)standard_lib)r   Zplat_specific)r
   Zget_python_libr   r   r   )r   r   r   r   r   +   s    
logging_dictConfigr   uses_pycacheconsole_to_str
native_strget_path_uidstdlib_pkgsWINDOWSsamefiler         T)cache_from_sourcer   c             C   s.   y| j tjjS  tk
r(   | j dS X d S )Nutf_8)decodesys
__stdout__encodingUnicodeDecodeError)sr   r   r   r   G   s    Fc             C   s"   t | tr| jd|rdndS | S )Nzutf-8replacestrict)
isinstancebytesr    )r%   r&   r   r   r   r   M   s    
c             C   s   | S )Nr   )r%   r   r   r   r   S   s    c             C   s   t | tr| jdS | S )Nzutf-8)r(   r   encode)r%   r&   r   r   r   r   V   s    

c             C   s<   t | dr| j S | j| j| jd d  d  }|d S d S )Ntotal_seconds   i  
      i@B i@B )hasattrr+   ZmicrosecondsZsecondsZdays)Ztdvalr   r   r   r+   ]   s    
r+   c             C   s`   t tdr6tj| tjtjB }tj|j}tj| n&tjj	| sPtj
| j}ntd|  |S )a)  
    Return path's uid.

    Does not follow symlinks:
        https://github.com/pypa/pip/pull/935#discussion_r5307003

    Placed this function in compat due to differences on AIX and
    Jython, that should eventually go away.

    :raises OSError: When path is a symlink or can't be read.
    
O_NOFOLLOWz1%s is a symlink; Will not return uid for symlinks)r/   osopenO_RDONLYr1   fstatst_uidclosepathislinkstatOSError)r8   fdZfile_uidr   r   r   r   e   s    

c             C   s0   t jj| }| jdr,|jdr,|dd }|S )zl
    Expand ~ and ~user constructions.

    Includes a workaround for http://bugs.python.org/issue14768
    z~/z//   N)r2   r8   
expanduser
startswith)r8   Zexpandedr   r   r   r>      s    r>   pythonwsgiref      argparsewinZclintc             C   sN   t tjdrtjj| |S tjjtjj| }tjjtjj|}||kS dS )z>Provide an alternative for os.path.samefile on Windows/Python2r   N)r/   r2   r8   r   normcaseabspath)Zfile1Zfile2Zpath1Zpath2r   r   r   r      s
    )r   r   )r   )F)F)r@   rA   )rB   rC   )rD   ),__doc__Z
__future__r   r   r2   r!   Zpip._vendor.sixr   Zlogging.configr   r   ImportErrorZpip.compat.dictconfigcollectionsr   Zpip._vendor.ordereddictr   Zpip._vendorZipaddrZ	IPAddressZ
ip_addressZ	IPNetworkZ
ip_networkr
   r   Z	distutils__all__version_infor   Zimportlib.utilr   Zimpr/   r   r   r+   r   r>   r   platformr?   namer   r   r   r   r   r   <module>   sh   	


