File: D:/Python311/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-311.pyc
�
�mi} � �� � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl m
Z
mZ d dlm
Z
d dlmZ d dlmZ d d lmZ d d
lmZmZ d dlmZ d dlmZ e j e� � Z G d
� de
� � ZdS )� N)�Values)�
WheelCache)�
cmdoptions)�RequirementCommand�with_cleanup)�SUCCESS)�CommandError)�get_build_tracker)�InstallRequirement)�
ensure_dir�normalize_path)�
TempDirectory)�buildc �N � e Zd ZdZdZd d�Zededee de
fd�� � ZdS )
�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/
'pip wheel' uses the build system interface as described here:
https://pip.pypa.io/en/stable/reference/build-system/
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> ...�returnNc �� � | j � ddddt j d�� � | j � t j � � � � | j � t j � � � � | j � t j � � � � | j � t j � � � � | j � t j � � � � | j � t j
� � � � | j � t j � � � � | j � t j � � � � | j � t j
� � � � | j � t j � � � � | j � t j � � � � | j � t j � � � � | j � t j � � � � | j � t j � � � � | j � ddd d
d�� � | j � t j � � � � | j � d
d d
d�� � | j � t j � � � � t j t j | j � � }| j � d|� � | 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--no-verify� no_verify�
store_trueFz%Don't verify if built wheel is valid.)r �actionr r z--prezYInclude 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�check_build_deps�constraints�build_constraints�editable�requirements�src�ignore_requires_python�no_deps�progress_bar�config_settings�require_hashes�make_option_group�index_group�parser�insert_option_group)�self�
index_optss �>D:\Python311\Lib\site-packages\pip/_internal/commands/wheel.py�add_optionszWheelCommand.add_options* s� � ��
� � ������I�-� !�
�
�
�
�
� � ��!5�!7�!7�8�8�8��
� � ��!7�!9�!9�:�:�:��
� � ��!9�!;�!;�<�<�<��
� � ��!>�!@�!@�A�A�A��
� � ��!6�!8�!8�9�9�9��
� � ��!<�!>�!>�?�?�?��
� � ��!7�!9�!9�:�:�:��
� � ��!=�!?�!?�@�@�@��
� � ��!4�!6�!6�7�7�7��
� � ��!8�!:�!:�;�;�;��
� � ���!1�!1�2�2�2��
� � ��!B�!D�!D�E�E�E��
� � ��!3�!5�!5�6�6�6��
� � ��!8�!:�!:�;�;�;��
� � �����8� !�
�
�
�
�
� � ��!;�!=�!=�>�>�>��
� � ����2� !�
�
�
�
�
� � ��!:�!<�!<�=�=�=��1��"��K�
�
�
�
��'�'��:�6�6�6���'�'��4�=�9�9�9�9�9� �options�argsc
�( � t j |� � | � |� � }| � ||� � }t |j � � |_ t
|j � � | � t � � � � }t |j
dd�� � }| � ||||� � }t |j
� � }| � ||||||j d| j �� � } | � | ||||j �� � }
| � |� � |
� |d�� � }| � |j � � � � � g }|j � � � D ]4}
|
j r| � |
� � �|� |
� � �5t5 |||j �� � \ }}|D ]�}
|
j r|
j j sJ �|
j sJ � t= j |
j |j � � �A# t@ $ r@}tB �"