<!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>
U
    Re                     @   sp   d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ d dl	Z	d dl
mZ dd Zdd Zd	d
 ZdS )    N)log)DistutilsError)Wheelc                 C   s(   t | tr|  S t | ttfs$t| S )z8Ensure find-links option end-up being a list of strings.)
isinstancestrsplittuplelistAssertionError)
find_links r   /builddir/build/BUILDROOT/alt-python38-setuptools-58.3.0-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/setuptools/installer.py_fixup_find_links   s    
r   c                 C   sH  zt d W n$ t jk
r2   | dtj Y nX t|}| d}d|krVtddt	j
kohdt	j
k}dt	j
krzd	}nd
|kr|d
 d }nd	}d|krt|d d d	d	 ng }| jr|| j t	j|  }t  }t |D ]}||kr||r|  S qt (}	tjdddddd|	g}
|r>|
d |d	k	rV|
d|f |p^g D ]}|
d|f q`|
|jpt| zt|
 W n4 tjk
r } ztt||W 5 d	}~X Y nX ttt	j |	dd }t	j ||! }|"| t #|t	j |d}t j$j%||d} | W  5 Q R  S Q R X d	S )zLFetch an egg needed for building.

    Use pip/wheel to fetch/build a wheel.wheelz,WARNING: The wheel package is not available.easy_installZallow_hostszQthe `allow-hosts` option is not supported when using pip to install requirements.Z	PIP_QUIETZPIP_VERBOSEZPIP_INDEX_URLN	index_url   r   z-mpipz--disable-pip-version-checkz	--no-depsz-wz--quietz--index-urlz--find-linksz*.whlr   zEGG-INFO)metadata)&pkg_resourcesget_distributionDistributionNotFoundannouncer   WARNstrip_markerget_option_dictr   osenvironr   Zdependency_linksextendpathrealpathZget_egg_cache_dirEnvironmentfind_distributionscan_addtempfileTemporaryDirectorysys
executableappendurlr   
subprocess
check_callCalledProcessErrorr   globjoinegg_nameZinstall_as_eggPathMetadataDistributionfrom_filename)distreqoptsquietr   r   Zeggs_direnvironmentZegg_distZtmpdircmdlinker   dist_locationZdist_metadatar   r   r   fetch_build_egg   sr    

 
    

 
  r<   c                 C   s   t jt| } d| _| S )z
    Return a new requirement without the environment marker to avoid
    calling pip with something like `babel; extra == "i18n"`, which
    would always be ignored.
    N)r   Requirementparser   marker)r4   r   r   r   r   X   s    r   )r-   r   r*   r&   r$   	distutilsr   distutils.errorsr   r   Zsetuptools.wheelr   r   r<   r   r   r   r   r   <module>   s   C