<!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
Pf1                 @   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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mZ d d
lmZ ejeZG dd deZdS )    )absolute_importN)RequirementCommand)CommandErrorPreviousBuildDirError)RequirementSet)import_or_raise)BuildDirectory)RemovedInPip10Warning)
WheelCacheWheelBuilder)
cmdoptionsc                   s<   e Zd ZdZdZdZdZ fddZdd Zd	d
 Z	  Z
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wheelz
      %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> ...z$Build wheels from your requirements.c                sP  t t| j|| | j}|jddddtjdd |jtj  |jtj	  |jtj
  |jtj  |jddd	d
dd |jtj  |jtj  |jtj  |jtj  |jtj  |jtj  |jtj  |jddd
d	dd |jddddd |jtj  |jtj  tjtj| j}| jjd| | jjd| 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   )superr   __init__cmd_optsZ
add_optionoscurdirr   Z	use_wheelZno_use_wheelZ	no_binaryZonly_binaryZconstraintsZeditableZrequirementssrcignore_requires_pythonZno_deps	build_dirno_cleanrequire_hashesZmake_option_groupZindex_groupparserZinsert_option_group)selfargskwr   Z
index_opts)	__class__ /usr/lib/python3.6/wheel.pyr   .   sV    zWheelCommand.__init__c             C   s.   t dtd t dtd}t|ds*tdd S )Nzwheel.bdist_wheelzM'pip wheel' requires the 'wheel' package. To fix this, run: pip install wheelpkg_resourceszp'pip wheel' requires setuptools >= 0.8 for dist-info support. To fix this, run: pip install --upgrade setuptoolsZDistInfoDistribution)r   r   hasattr)r%   r+   r)   r)   r*   check_required_packagesh   s    
z$WheelCommand.check_required_packagesc              C   s  | j   tj| tj| |jr.tjdt |jr@tjdt |j	rRtjdt |j
g|j }|jr|tjddj| g }|jrtjj|j|_tjj|j|_| j|}| j||}|jp|j }t|j|j}t|j|d}t||jd |jd|j|j|||j |j!d}	| j"|	||||| j#| |	j$s6d S zZy6t%|	||j&pJg |j'pTg d	}
|
j( slt)d
W n t*k
r   d|_ Y nX W d |js|	j+  X W d Q R X W d Q R X d S )Nz--allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.z--allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.z--allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.zIgnoring indexes: %s,)deleteT)r!   src_dirZdownload_dirignore_dependenciesZignore_installedr    isolatedsessionwheel_cacheZwheel_download_dirr#   )r   r   z"Failed to build one or more wheels),r-   r   Zresolve_wheel_no_use_binaryZcheck_install_build_globalZallow_externalwarningswarnr	   Zallow_all_externalZallow_unverifiedZ	index_urlZextra_index_urlsZno_indexloggerdebugjoinr!   r   pathabspathr0   Z_build_sessionZ_build_package_finderr"   r
   	cache_dirZformat_controlr   r   r1   r    Zisolated_moder   r#   Zpopulate_requirement_setnameZhas_requirementsr   r   r   Zbuildr   r   Zcleanup_files)r%   r   r&   Z
index_urlsr3   finderZbuild_deleter4   r!   Zrequirement_setwbr)   r)   r*   run|   sv    






zWheelCommand.run)__name__
__module____qualname____doc__r=   ZusageZsummaryr   r-   r@   __classcell__r)   r)   )r(   r*   r      s   :r   )Z
__future__r   Zloggingr   r5   Zpip.basecommandr   Zpip.exceptionsr   r   Zpip.reqr   Z	pip.utilsr   Zpip.utils.buildr   Zpip.utils.deprecationr	   Z	pip.wheelr
   r   Zpipr   Z	getLoggerrA   r7   r   r)   r)   r)   r*   <module>   s   
