Your IP : 18.218.3.204


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/wheel.pyc

�
�Rec@@s8ddlmZddlZddlZddlZddlmZddlmZddl	m
Z
mZddlm
Z
ddlmZddlmZdd	lmZmZdd
lmZddlmZddlmZmZerdd
lmZddlmZnej e!�Z"de
fd��YZ#dS(i(tabsolute_importN(t
WheelCache(t
cmdoptions(tRequirementCommandtwith_cleanup(tSUCCESS(tCommandError(tget_requirement_tracker(t
ensure_dirtnormalize_path(t
TempDirectory(tMYPY_CHECK_RUNNING(tbuildtshould_build_for_wheel_command(tValues(tListtWheelCommandcB@s,eZdZdZd�Zed��ZRS(s�
    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.

    s�
      %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> ...cC@s/|jjdddddddtjdd	�|jjtj��|jjtj��|jjtj��|jjd
ddddd
ddd�|jjtj��|jjtj	��|jjtj
��|jjtj��|jjtj��|jjtj
��|jjtj��|jjtj��|jjtj��|jjtj��|jjtj��|jjdddd
ddddd�|jjdd
ddtdd�|jjtj��tjtj|j�}|jjd|�|jjd|j�dS(Ns-ws--wheel-dirtdestt	wheel_dirtmetavartdirtdefaultthelpsLBuild wheels into <dir>, where the default is the current working directory.s--build-optiont
build_optionstoptionstactiontappends9Extra arguments to be supplied to 'setup.py bdist_wheel'.s--global-optiontglobal_optionssZExtra global options to be supplied to the setup.py call before the 'bdist_wheel' command.s--pret
store_truesYInclude pre-release and development versions. By default, pip only finds stable versions.i(tcmd_optst
add_optiontostcurdirRt	no_binarytonly_binaryt
prefer_binarytno_build_isolationt
use_pep517t
no_use_pep517tconstraintsteditabletrequirementstsrctignore_requires_pythontno_depst	build_dirtprogress_bartFalsetrequire_hashestmake_option_grouptindex_grouptparsertinsert_option_group(tselft
index_opts((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/wheel.pytadd_options2sV						cC@shtj|�|j|�}|j||�}|jp=|j}t|j|j�}t	|j
�|_
t|j
�|jt
��}t|jd|dddt�}|j||||�}	|jd|d|d|d|d	|d
|j
dt�}
|jd|
d	|d|d
|d|jd|j�}|j|�|j|	dt�}g|jj�D]}
t|
�ra|
^qa}t|d
|d|jp�gd|jp�g�\}}x�|D]�}|jr�|jjs�t �|j!s�t �yt"j#|j!|j
�Wq�t$k
r>}t%j&d|j'|�|j(|�q�Xq�Wt)|�dkrdt*d��nt+S(Ntdeletetkindtwheeltglobally_managedttemp_build_dirRtreq_trackertsessiontfindertwheel_download_dirt
use_user_sitetpreparertwheel_cacheR+R%tcheck_supported_wheelsRRs Building wheel for %s failed: %sis"Failed to build one or more wheels(,Rtcheck_install_build_globaltget_default_sessiont_build_package_findertno_cleanR-Rt	cache_dirtformat_controlR	RRt
enter_contextRR
tTruetget_requirementstmake_requirement_preparerR/t
make_resolverR+R%ttrace_basic_infotresolveR)tvaluesR
RRRtlinktis_wheeltAssertionErrortlocal_file_pathtshutiltcopytOSErrortloggertwarningtnameRtlenRR(R5RtargsR>R?tbuild_deleteRCR=t	directorytreqsRBtresolvertrequirement_settrt
reqs_to_buildtbuild_successestbuild_failurestreqte((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/wheel.pytrunmsj

							


(t__name__t
__module__t__doc__tusageR7RRj(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/wheel.pyRs
	;($t
__future__RtloggingRRWtpip._internal.cacheRtpip._internal.cliRtpip._internal.cli.req_commandRRtpip._internal.cli.status_codesRtpip._internal.exceptionsRtpip._internal.req.req_trackerRtpip._internal.utils.miscRR	tpip._internal.utils.temp_dirR
tpip._internal.utils.typingRtpip._internal.wheel_builderRR
toptparseRttypingRt	getLoggerRkRZR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/wheel.pyt<module>s$

?>