PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/__pycache__/urls.cpython-35.pyc



��Re��@s�ddlZddlZddlmZddlmZddlmZerjddl	m
Z
mZmZdd�Z
dd	�Zd
d�ZdS)�N)�parse)�request)�MYPY_CHECK_RUNNING)�Optional�Text�UnioncCs*d|krdS|jdd�dj�S)N�:�r)�split�lower)�url�r
��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/urls.py�get_url_scheme
srcCs=tjjtjj|��}tjdtj|��}|S)zh
    Convert a path to a file: URL.  The path will be made absolute and have
    quoted path parts.
    zfile:)�os�path�normpath�abspath�urllib_parse�urljoin�urllib_request�pathname2url)rrr
r
r�path_to_urlsrcCs�|jd�s'tdjt����tj|�\}}}}}|sX|dkrad}n4tjdkr}d|}ntdjt����t	j
||�}|S)z(
    Convert a file: URL to a path.
    zfile:z9You can only turn file: urls into filenames (not {url!r})�	localhost��win32z\\z?non-local file URIs are not supported on this platform: {url!r})�
startswith�AssertionError�format�localsr�urlsplit�sys�platform�
ValueErrorr�url2pathname)r�_�netlocrr
r
r�url_to_paths	
r')rr!Zpip._vendor.six.moves.urllibrrrr�pip._internal.utils.typingr�typingrrrrrr'r
r
r
r�<module>s

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic