<!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>
ó
ïRec           @   sÿ  d  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
 m Z d d l m Z d d l m Z m Z m Z d d l m Z d d	 l m Z d d
 l m Z d d l m Z d d l m Z d d l m Z e rtd d l m Z m  Z  m! Z! m" Z" m# Z# m$ Z$ d d l% m& Z& d d l' m( Z( e  e( g e) f Z* e$ e" e( e" e( f Z+ n  e j, e- ƒ Z. e j/ d e j0 ƒ Z1 d „  Z2 d „  Z3 d „  Z4 d „  Z5 d „  Z6 d „  Z7 d „  Z8 d „  Z9 d „  Z: d „  Z; d „  Z< d S(   s;   Orchestrator for building wheels from InstallRequirements.
iÿÿÿÿN(   t   Link(   t   build_wheel_pep517(   t   build_wheel_legacy(   t
   indent_log(   t
   ensure_dirt	   hash_filet   is_wheel_installed(   t   make_setuptools_clean_args(   t   call_subprocess(   t   TempDirectory(   t   MYPY_CHECK_RUNNING(   t   path_to_url(   t   vcs(   t   Anyt   Callablet   Iterablet   Listt   Optionalt   Tuple(   t
   WheelCache(   t   InstallRequirements   ([a-z0-9_.]+)-([a-z0-9_.!+-]+)c         C   s   t  t j |  ƒ ƒ S(   sj   Determine whether the string looks like an egg_info.

    :param s: The string to parse. E.g. foo-2.1
    (   t   boolt   _egg_info_ret   search(   t   s(    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt   _contains_egg_info%   s    c         C   s©   |  j  r t S|  j r6 | r2 t j d |  j ƒ n  t S| r@ t S|  j sS |  j rW t S| |  ƒ sz t j d |  j ƒ t S|  j	 r¥ t
 ƒ  r¥ t j d |  j ƒ t St S(   sB   Return whether an InstallRequirement should be built into a wheel.s(   Skipping %s, due to already being wheel.sC   Skipping wheel build for %s, due to binaries being disabled for it.sO   Using legacy 'setup.py install' for %s, since package 'wheel' is not installed.(   t
   constraintt   Falset   is_wheelt   loggert   infot   namet   Truet   editablet
   source_dirt
   use_pep517R   (   t   reqt
   need_wheelt   check_binary_allowed(    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt   _should_build.   s,    		

c         C   s   t  |  d t d t ƒS(   NR%   R&   (   R'   R    t   _always_true(   R$   (    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt   should_build_for_wheel_command[   s    c         C   s   t  |  d t d | ƒS(   NR%   R&   (   R'   R   (   R$   R&   (    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt    should_build_for_install_commandd   s    c         C   sÇ   |  j  s |  j r t S|  j r |  j j r |  j  s< t ‚ |  j sK t ‚ t j |  j j ƒ } | sl t ‚ | j	 |  j j
 |  j ƒ r‹ t St S|  j sž t ‚ |  j j ƒ  \ } } t | ƒ rÃ t St S(   sÍ   
    Return whether a built InstallRequirement can be stored in the persistent
    wheel cache, assuming the wheel cache is available, and _should_build()
    has determined a wheel needs to be built.
    (   R!   R"   R   t   linkt   is_vcst   AssertionErrorR   t   get_backend_for_schemet   schemet   is_immutable_rev_checkoutt   urlR    t   splitextR   (   R$   t   vcs_backendt   baset   ext(    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt   _should_cachen   s    	c         C   s[   t  | j ƒ } |  j s t ‚ | rE t |  ƒ rE | j |  j ƒ } n | j |  j ƒ } | S(   sd   Return the persistent or temporary cache directory where the built
    wheel need to be stored.
    (   R   t	   cache_dirR+   R-   R6   t   get_path_for_linkt   get_ephem_path_for_link(   R$   t   wheel_cachet   cache_availableR7   (    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt   _get_cache_dir   s    c         C   s   t  S(   N(   R    (   t   _(    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyR(       s    c      	   C   sb   y t  | ƒ Wn* t k
 r: } t j d |  j | ƒ d SX|  j  t |  | | | ƒ SWd QXd S(   sa   Build one wheel.

    :return: The filename of the built wheel, or None if the build failed.
    s    Building wheel for %s failed: %sN(   R   t   OSErrorR   t   warningR   t   Nonet	   build_envt   _build_one_inside_env(   R$   t
   output_dirt   build_optionst   global_optionst   e(    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt
   _build_one¥   s    
c         C   s  t  d d ƒ x} |  j s! t ‚ |  j ro |  j s9 t ‚ t d |  j d |  j d |  j d | d | j ƒ } n9 t d |  j d |  j	 d	 |  j
 d
 | d | d | j ƒ } | d  k	 rft j j | ƒ } t j j | | ƒ } y\ t | ƒ \ } }	 t j | | ƒ t j d |  j | |	 | j ƒ  ƒ t j d | ƒ | SWqft k
 rb}
 t j d |  j |
 ƒ qfXn  |  j st |  | ƒ n  d  SWd  QXd  S(   Nt   kindt   wheelR   t   backendt   metadata_directoryRD   t   tempdt   setup_py_pathR"   RE   s3   Created wheel for %s: filename=%s size=%d sha256=%ss   Stored in directory: %ss    Building wheel for %s failed: %s(   R	   R   R-   R#   RK   R   t   pep517_backendt   pathR   RM   t   unpacked_source_directoryR@   t   ost   basenamet   joinR   t   shutilt   moveR   R   t	   hexdigestt	   ExceptionR?   t   _clean_one_legacy(   R$   RC   RD   RE   t   temp_dirt
   wheel_patht
   wheel_namet	   dest_patht
   wheel_hasht   lengthRF   (    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyRB   À   sF    									c         C   so   t  |  j d | ƒ} t j d |  j ƒ y t | d |  j ƒt SWn% t k
 rj t j	 d |  j ƒ t
 SXd  S(   NRE   s   Running setup.py clean for %st   cwds    Failed cleaning build dir for %s(   R   RM   R   R   R   R   R"   R    RW   t   errorR   (   R$   RE   t
   clean_args(    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyRX   ó   s    		c   	   
   C   sX  |  s g  g  f St  j d d j d „  |  Dƒ ƒ ƒ t ƒ    g  g  } } x‹ |  D]ƒ } t | | ƒ } t | | | | ƒ } | rÇ t t | ƒ ƒ | _ | j j	 | _
 | j j s· t ‚ | j | ƒ qQ | j | ƒ qQ WWd QX| rt  j d d j g  | D] } | j ^ qú ƒ ƒ n  | rNt  j d d j g  | D] } | j ^ q2ƒ ƒ n  | | f S(   s˜   Build wheels.

    :return: The list of InstallRequirement that succeeded to build and
        the list of InstallRequirement that failed to build.
    s*   Building wheels for collected packages: %ss   , c         s   s   |  ] } | j  Vq d  S(   N(   R   (   t   .0R$   (    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pys	   <genexpr>  s    Ns   Successfully built %st    s   Failed to build %s(   R   R   RS   R   R<   RG   R    R   R+   t	   file_patht   local_file_pathR   R-   t   appendR   (	   t   requirementsR:   RD   RE   t   build_successest   build_failuresR$   R7   t
   wheel_file(    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt   build  s4    

))(=   t   __doc__t   loggingt   os.pathRQ   t   reRT   t   pip._internal.models.linkR    t$   pip._internal.operations.build.wheelR   t+   pip._internal.operations.build.wheel_legacyR   t   pip._internal.utils.loggingR   t   pip._internal.utils.miscR   R   R   t$   pip._internal.utils.setuptools_buildR   t   pip._internal.utils.subprocessR   t   pip._internal.utils.temp_dirR	   t   pip._internal.utils.typingR
   t   pip._internal.utils.urlsR   t   pip._internal.vcsR   t   typingR   R   R   R   R   R   t   pip._internal.cacheR   t   pip._internal.req.req_installR   R   t   BinaryAllowedPredicatet   BuildResultt	   getLoggert   __name__R   t   compilet
   IGNORECASER   R   R'   R)   R*   R6   R<   R(   RG   RB   RX   Rk   (    (    (    sŠ   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/wheel_builder.pyt   <module>   sD   .			-			
	!				3	