£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>
U
    .e                     @   s   d dl m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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rd dlmZ d dlmZmZ eeZG dd de	ZdS )    )absolute_importN)
WheelCache)
cmdoptions)RequirementCommand)CommandErrorPreviousBuildDirError)RequirementSet)RequirementTracker)TempDirectory)MYPY_CHECK_RUNNING)WheelBuilder)Values)AnyListc                       s,   e Zd ZdZdZ f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
      %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                    sz  t t| j|| | j}|jddddtjdd |t  |t	  |t
  |jddd	d
dd |t  |t  |t  |t  |t  |t  |t  |t  |t  |t  |t  |jddd
d	dd |jddddd |t  |t  ttj| j}| jd| | 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	no_binaryZonly_binaryZprefer_binaryZno_build_isolation
use_pep517Zno_use_pep517ZconstraintsZeditablerequirementssrcignore_requires_pythonZno_deps	build_dirZprogress_barno_cleanrequire_hashesZmake_option_groupZindex_groupparserZinsert_option_group)selfargskwr   Z
index_opts	__class__ @/usr/lib/python3.8/site-packages/pip/_internal/commands/wheel.pyr   3   sh     zWheelCommand.__init__c                 C   sz  t | |jr tj|j|_tj|j|_| |}| ||}|j	pP|j }t
|j|j}t }t|j|dd}t|jd}	zz| |	||||| | j||||jd}
| j|
|||||j|jd}||	 t|
||jpg |jpg |j	d}||	j }t |dkr"t!dW n t"k
rB   d	|_	 Y nX W 5 |j	s`|	  |  X W 5 Q R X W 5 Q R X d S )
NZwheel)deleteZkind)r(   )Ztemp_build_dirr   req_trackerZwheel_download_dir)preparerfindersessionr   wheel_cacher%   r"   )r   r   r'   r   z"Failed to build one or more wheelsT)#r   Zcheck_install_build_globalr&   r    pathabspathZsrc_dirZget_default_sessionZ_build_package_finderr'   r   	cache_dirZformat_controlr	   r
   r   r(   Zcleanup_filesZcleanupZpopulate_requirement_setZmake_requirement_preparerr   Zmake_resolverr%   r"   Zresolver   r   r   Zbuildr#   valueslenr   r   )r*   r   r+   r5   r4   Zbuild_deleter6   r2   Z	directoryZrequirement_setr3   ZresolverwbZbuild_failuresr/   r/   r0   runq   s|    

      	
 zWheelCommand.run)__name__
__module____qualname____doc__Zusager   r=   __classcell__r/   r/   r-   r0   r      s   >r   ) Z
__future__r   Zloggingr    Zpip._internal.cacher   Zpip._internal.clir   Zpip._internal.cli.req_commandr   Zpip._internal.exceptionsr   r   Zpip._internal.reqr   Zpip._internal.req.req_trackerr	   Zpip._internal.utils.temp_dirr
   Zpip._internal.utils.typingr   Zpip._internal.wheelr   Zoptparser   typingr   r   Z	getLoggerr>   Zloggerr   r/   r/   r/   r0   <module>   s    
