AlkantarClanX12

Your IP : 13.59.87.145


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

�
��abc@@s�ddlmZddlZddlZddlZddlmZddlmZm	Z	ddl
mZddlm
Z
ddlmZddlmZdd	lmZmZdd
lmZeje�Zdefd��YZdS(
i(tabsolute_importN(tRequirementCommand(tCommandErrortPreviousBuildDirError(tRequirementSet(timport_or_raise(tBuildDirectory(tRemovedInPip10Warning(t
WheelCachetWheelBuilder(t
cmdoptionstWheelCommandcB@s;eZdZdZdZdZd�Zd�Zd�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.

    twheels�
      %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> ...s$Build wheels from your requirements.cO@s�tt|�j||�|j}|jdddddddtjdd	�|jtj��|jtj	��|jtj
��|jtj��|jd
ddddd
ddd�|jtj��|jtj
��|jtj��|jtj��|jtj��|jtj��|jtj��|jdddd
ddddd�|jdd
ddtdd�|jtj��|jtj��tjtj|j�}|jjd|�|jjd|�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(tsuperRt__init__tcmd_optst
add_optiontostcurdirR
t	use_wheeltno_use_wheelt	no_binarytonly_binarytconstraintsteditabletrequirementstsrctignore_requires_pythontno_depst	build_dirtFalsetno_cleantrequire_hashestmake_option_grouptindex_grouptparsertinsert_option_group(tselftargstkwRt
index_opts((s6/usr/lib/python2.7/site-packages/pip/commands/wheel.pyR.sV			cC@sDtdtd�tdtd�}t|d�s@td��ndS(Nswheel.bdist_wheelsM'pip wheel' requires the 'wheel' package. To fix this, run: pip install wheelt
pkg_resourcessp'pip wheel' requires setuptools >= 0.8 for dist-info support. To fix this, run: pip install --upgrade setuptoolstDistInfoDistribution(RRthasattr(R1R5((s6/usr/lib/python2.7/site-packages/pip/commands/wheel.pytcheck_required_packageshs	cC@s||j�tj|�tj|�|jr@tjdt�n|jr\tjdt�n|j	rxtjdt�n|j
g|j}|jr�t
jddj|��g}n|jr�tjj|j�|_ntjj|j�|_|j|��u}|j||�}|jp%|j}t|j|j�}t|jd|��}td|d|jd	dd
|jdtd|j d
|j!d|d|d|j"d|j#�}	|j$|	|||||j%|�|	j&s�dSzpyLt'|	|d|j(pgd|j)pg�}
|
j*�s0t+d��nWnt,k
rPt|_�nXWd|jsk|	j-�nXWdQXWdQXdS(Ns�--allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.s�--allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.s�--allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.sIgnoring indexes: %st,tdeleteR)tsrc_dirtdownload_dirtignore_dependenciestignore_installedR'tisolatedtsessiontwheel_cachetwheel_download_dirR,RRs"Failed to build one or more wheels(.R8R
tresolve_wheel_no_use_binarytcheck_install_build_globaltallow_externaltwarningstwarnRtallow_all_externaltallow_unverifiedt	index_urltextra_index_urlstno_indextloggertdebugtjoinR)RtpathtabspathR;t_build_sessiont_build_package_finderR+Rt	cache_dirtformat_controlRRtNoneR=tTrueR't
isolated_modeRR,tpopulate_requirement_settnamethas_requirementsR	RRtbuildRRt
cleanup_files(R1RR2t
index_urlsR@tfindertbuild_deleteRAR)trequirement_settwb((s6/usr/lib/python2.7/site-packages/pip/commands/wheel.pytrun|sx


	
	
	
									
		(	t__name__t
__module__t__doc__RZtusagetsummaryRR8Rc(((s6/usr/lib/python2.7/site-packages/pip/commands/wheel.pyRs
	:	(t
__future__RtloggingRRFtpip.basecommandRtpip.exceptionsRRtpip.reqRt	pip.utilsRtpip.utils.buildRtpip.utils.deprecationRt	pip.wheelRR	tpipR
t	getLoggerRdRMR(((s6/usr/lib/python2.7/site-packages/pip/commands/wheel.pyt<module>s