<!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>
B
    š•Re÷  ã               @   sh   d dl Z d dlZd dlmZ d dlmZ d dlmZ erLd dl	m
Z
mZmZ dd„ Zdd	„ Zd
d„ ZdS )é    N)Úparse)Úrequest)ÚMYPY_CHECK_RUNNING)ÚOptionalÚTextÚUnionc             C   s    d| krd S |   dd¡d  ¡ S )Nú:é   r   )ÚsplitÚlower)Úurl© r   ú‡/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/urls.pyÚget_url_scheme   s    r   c             C   s*   t j t j | ¡¡} t dt | ¡¡}|S )zh
    Convert a path to a file: URL.  The path will be made absolute and have
    quoted path parts.
    zfile:)ÚosÚpathÚnormpathÚabspathÚurllib_parseÚurljoinÚurllib_requestÚpathname2url)r   r   r   r   r   Úpath_to_url   s    r   c             C   sz   |   d¡stdjf tƒ Žƒ‚t | ¡\}}}}}|r<|dkrBd}n&tjdkrVd| }ntdjf tƒ Žƒ‚t	 
|| ¡}|S )z(
    Convert a file: URL to a path.
    zfile: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   Ú_Únetlocr   r   r   r   Úurl_to_path   s    



r'   )r   r!   Zpip._vendor.six.moves.urllibr   r   r   r   Úpip._internal.utils.typingr   Útypingr   r   r   r   r   r'   r   r   r   r   Ú<module>   s   