I i dZddlZddlZddlZddlZddlmZgdZeje Z de fdZ dedefdZej"d krej$j&Zn dd ed ed ed edeef dZej"d k\rddlZnddlmZhdZej2j5dxs ej2dk(xrej6dk(Zy)zKStuff that differs in different Python versions and platform distributions.N)IO) get_path_uid stdlib_pkgstomllibWINDOWSreturnc< ddl}y#t$rYnwxYwddlm}|S)NrT) IS_PYOPENSSL)_ssl ImportErrorpip._vendor.urllib3.utilr )r r s `/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.pyhas_tlsrs*     6 s  pathcttdrktj|tjtjz}tj |j }tj||Stjj|s!tj|j }|St|d)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< WWT2;;6 788B<&&   O ww~~d#wwt}++H OTF"QRS S) packageresourceencodingerrorscjtjj||z jd||S)Nr)r$r%) importlib resourcesfilesr)r"r#r$r%s ropen_text_resourcer+>s:##))'2X=CC (6D  r)tomli>pythonwsgirefargparsewinclint)zutf-8strict)__doc__importlib.resourcesr(loggingrsystypingr__all__ getLogger__name__loggerboolrstrintr version_infor) open_textr+r pip._vendorr,rplatform startswithnamerrrrGs  ?   8 $  ss:g",,66MU  # /2 FI C w,0  ,, ! !% ( WS\\U-B-VrwwRVr