<!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>
3
Re                 @   s   d dl m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
mZ d dlmZ d dlmZ d dlmZ d d	lmZmZ d d
lmZ d dlmZ d dlmZmZ erd dlmZ d dlmZ ej e!Z"G dd de
Z#dS )    )absolute_importN)
WheelCache)
cmdoptions)RequirementCommandwith_cleanup)SUCCESS)CommandError)get_requirement_tracker)
ensure_dirnormalize_path)TempDirectory)MYPY_CHECK_RUNNING)buildshould_build_for_wheel_command)Values)Listc               @   s(   e Zd ZdZdZdd Zedd ZdS )WheelCommanda  
    Build Wheel archives for your requirements and dependencies.

    Wheel is a built-package format, and offers the advantage of not
    recompiling your software during every install. For more details, see the
    wheel docs: https://wheel.readthedocs.io/en/latest/

    Requirements: setuptools>=0.8, and wheel.

    'pip wheel' uses the bdist_wheel setuptools extension from the wheel
    package to build individual wheels.

    z
      %prog [options] <requirement specifier> ...
      %prog [options] -r <requirements file> ...
      %prog [options] [-e] <vcs project url> ...
      %prog [options] [-e] <local project path> ...
      %prog [options] <archive url/path> ...c             C   s|  | j jddddtjdd | j jtj  | j jtj  | j jtj  | j jddd	d
dd | j jtj  | j jtj	  | j jtj
  | j jtj  | j jtj  | j jtj  | j jtj  | j jtj  | j jtj  | j jtj  | j jtj  | j jddd
d	dd | j jddddd | j jtj  tjtj| j}| jjd| | jjd| j  d S )Nz-wz--wheel-dir	wheel_dirdirzLBuild wheels into <dir>, where the default is the current working directory.)destmetavardefaulthelpz--build-optionbuild_optionsoptionsappendz9Extra arguments to be supplied to 'setup.py bdist_wheel'.)r   r   actionr   z--global-optionglobal_optionszZExtra global options to be supplied to the setup.py call before the 'bdist_wheel' command.)r   r   r   r   z--pre
store_trueFzYInclude pre-release and development versions. By default, pip only finds stable versions.)r   r   r   r   )cmd_opts
add_optionoscurdirr   	no_binaryonly_binaryprefer_binaryno_build_isolation
use_pep517no_use_pep517constraintseditablerequirementssrcignore_requires_pythonno_deps	build_dirprogress_barrequire_hashesmake_option_groupindex_groupparserinsert_option_group)self
index_opts r8   /builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/wheel.pyadd_options2   sV    zWheelCommand.add_optionsc             C   s  t j| | j|}| j||}|jp*|j }t|j|j}t	|j
|_
t|j
 | jt }t|j|ddd}| j||||}	| j||||||j
dd}
| j|
||||j|jd}| j| |j|	dd}dd	 |jj D }t|||jpg |jpg d
\}}x|D ]|}|jr|jjs t|js,tytj |j|j
 W n> t!k
r~ } z t"j#d|j$| |j%| W Y d d }~X nX qW t&|dkrt'dt(S )NwheelT)deletekindglobally_managedF)temp_build_dirr   req_trackersessionfinderwheel_download_diruse_user_site)preparerrB   r   wheel_cacher-   r'   )check_supported_wheelsc             S   s   g | ]}t |r|qS r8   )r   ).0rr8   r8   r9   
<listcomp>   s    z$WheelCommand.run.<locals>.<listcomp>)rF   r   r   z Building wheel for %s failed: %sr   z"Failed to build one or more wheels))r   check_install_build_globalget_default_session_build_package_finderno_cleanr/   r   	cache_dirformat_controlr   r   r
   enter_contextr	   r   get_requirementsmake_requirement_preparermake_resolverr-   r'   trace_basic_inforesolver+   valuesr   r   r   linkis_wheelAssertionErrorlocal_file_pathshutilcopyOSErrorloggerwarningnamer   lenr   r   )r6   r   argsrA   rB   build_deleterF   r@   	directoryreqsrE   resolverrequirement_setreqs_to_buildbuild_successesbuild_failuresreqer8   r8   r9   runm   sh    







"zWheelCommand.runN)__name__
__module____qualname____doc__usager:   r   rn   r8   r8   r8   r9   r      s   ;r   )$
__future__r   loggingr!   r\   pip._internal.cacher   Zpip._internal.clir   pip._internal.cli.req_commandr   r   pip._internal.cli.status_codesr   pip._internal.exceptionsr   pip._internal.req.req_trackerr	   pip._internal.utils.miscr
   r   pip._internal.utils.temp_dirr   pip._internal.utils.typingr   pip._internal.wheel_builderr   r   optparser   typingr   	getLoggerro   r_   r   r8   r8   r8   r9   <module>   s$   
