관리-도구
편집 파일: wheel.cpython-311.pyc
� �܋f � � � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl m Z d dlmZm Z d dlmZ d dlmZ d d lmZ d d lmZmZ d dlmZmZ d dlmZ d d lmZmZ e j e � � Z! G d� de� � Z"dS )� N)�Values)�List)� WheelCache)� cmdoptions)�RequirementCommand�with_cleanup)�SUCCESS)�CommandError)�get_build_tracker)�InstallRequirement�check_legacy_setup_py_options)� ensure_dir�normalize_path)� TempDirectory)�build�should_build_for_wheel_commandc �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 � t j � � � � | 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� no_use_pep517�check_build_deps�constraints�editable�requirements�src�ignore_requires_python�no_deps�progress_bar�config_settings� build_options�global_options�require_hashes�make_option_group�index_group�parser�insert_option_group)�self� index_optss �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/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�� � � ��!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� !� � � � � � � ��!;�!=�!=�>�>�>�� � � ��!9�!;�!;�<�<�<�� � � ��!:�!<�!<�=�=�=�� � � ����2� !� � � � � � � ��!:�!<�!<�=�=�=��1��"��K� � � � ��'�'��:�6�6�6���'�'��4�=�9�9�9�9�9� �options�argsc �j � | � |� � }| � ||� � }t |j � � |_ t |j � � | � t � � � � }t |j dd�� � }| � ||||� � }t ||� � t |j � � }| � ||||||j d| j �� � } | � | ||||j |j �� � } | � |� � | � |d�� � }g }|j � � � D ]C} | j r| � | � � �t1 | � � r|� | � � �D| � |j � � � � � t7 |||j |j pg |j pg �� � \ }}|D ]�} | j r| j j sJ �| j sJ � tC j"