| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python313/Lib/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
�
��iA � �T � S SK r S SKrS SKrS SKrSSKJr S\S\4S jrS\S\4S jr g) � N� )�WINDOWS�path�returnc � � [ R R [ R R U 5 5 n [ R
R
S[ R R U 5 5 nU$ )z\
Convert a path to a file: URL. The path will be made absolute and have
quoted path parts.
zfile://) �osr �normpath�abspath�urllib�parse�urljoin�request�pathname2url)r �urls �:C:\Python313\Lib\site-packages\pip/_internal/utils/urls.py�path_to_urlr sO � �
�7�7���B�G�G�O�O�D�1�2�D�
�,�,�
�
�y�&�.�.�*E�*E�d�*K�
L�C��J� r c �� � U R S5 ( d SU < S35 e[ R R U 5 u pn nU( a US:X a SnO [ ( a SU- nO[ SU < 35 e[ R R X#- 5 n[ ( aD U( d= [ U5 S:� a. US S
:X a% US [ R ; a USS
S; a USS nU$ )z
Convert a file: URL to a path.
zfile:z1You can only turn file: urls into filenames (not �)� localhost� z\\z8non-local file URIs are not supported on this platform: � r �/r � � )�:z:/N)�
startswithr r �urlsplitr �
ValueErrorr �url2pathname�len�string�
ascii_letters)r �_�netlocr s r �url_to_pathr&