Re @ s5 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" Gd d d e
Z# d S) )absolute_importN)
WheelCache)
cmdoptions)RequirementCommandwith_cleanup)SUCCESS)CommandError)get_requirement_tracker)
ensure_dirnormalize_path)
TempDirectory)MYPY_CHECK_RUNNING)buildshould_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] ...
%prog [options] -r ...
%prog [options] [-e] ...
%prog [options] [-e] ...
%prog [options] ...c C s/ | j j d d d 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
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 d d d | j j d d
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-dirdest wheel_dirmetavardirdefaulthelpzLBuild wheels into , where the default is the current working directory.z--build-option
build_optionsoptionsactionappendz9Extra arguments to be supplied to 'setup.py bdist_wheel'.z--global-optionglobal_optionszZExtra global options to be supplied to the setup.py call before the 'bdist_wheel' command.z--pre
store_trueFzYInclude pre-release and development versions. By default, pip only finds stable versions.r )cmd_opts
add_optionoscurdirr no_binaryonly_binary
prefer_binaryno_build_isolation
use_pep517
no_use_pep517constraintseditablerequirementssrcignore_requires_pythonno_deps build_dirprogress_barrequire_hashesmake_option_groupindex_groupparserinsert_option_group)self
index_opts r8 /builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/wheel.pyadd_options2 sV zWheelCommand.add_optionsc C se t j | | j | } | j | | } | j p= | j } t | j | j } t | j
| _
t | j
| j t
} t | j d | d d d d } | j | | | | } | j d | d | d | d | d
| d | j
d d
}
| j d |
d
| d | d | d | j d | j } | j | | j | d d } d d | j j D }
t |
d | d | j pg d | j pg \ } } x | D] } | j r| j j st | j st y t j | j | j
Wqt! k
r>} z( t" j# d | j$ | | j% | WYd d } ~ XqXqWt&