ݕ jdZddlZddlZddlZddlZddlmZgdZej e Z de fdZ dedefdZejd kr ejjZn dd ed edededeef dZejd krddlZnddlmZhdZejdpejdko ejdkZdS)zKStuff that differs in different Python versions and platform distributions.N)IO) get_path_uid stdlib_pkgstomllibWINDOWSreturnc@ ddl}dS#t$rYnwxYwddlm}|S)NrT) IS_PYOPENSSL)_ssl ImportErrorpip._vendor.urllib3.utilr )r r s l/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pip/_internal/utils/compat.pyhas_tlsrsO  t      655555 s  pathczttdrZtj|tjtjz}tj|j}tj|nKtj |stj |j}nt|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_NOFOLLOWz/ is a symlink; Will not return uid for symlinks) hasattrosopenO_RDONLYrfstatst_uidcloserislinkstatOSError)rfdfile_uids rrrsr<  T WT2;6 7 78B<<&  w~~d## Twt}}+HHTRRRSS S O) utf-8strictpackageresourceencodingerrorscrtj||z d||S)Nr)r&r') importlib resourcesfilesr)r$r%r&r's ropen_text_resourcer->s?#))'22X=CC (6D   r)tomli>pythonwsgirefargparsewinclint)r"r#)__doc__importlib.resourcesr*loggingrsystypingr__all__ getLogger__name__loggerboolrstrintr version_infor+ open_textr-r pip._vendorr.rplatform startswithnamerrrrHs~  ? ? ?  8 $ $     ss:g",6MU   # /2 FI C    wNNNN,,,,,,0//  , ! !% ( ( WS\U-B-VrwRVr