Current File : //proc/3/root/proc/2/root/opt/alt/python35/lib/python3.5/site-packages/pip/commands/wheel.pyo
�
�wMVc@@s�ddlmZddlZddlZddlmZddlmZddlm Z ddl
mZmZddl
mZmZmZddlmZmZdd lmZdd
lmZejjeej�d�Zdefd
��YZdS(i(tabsolute_importN(tCommand(t
PackageFinder(tlogger(tCommandErrortPreviousBuildDirError(tInstallRequirementtRequirementSettparse_requirements(tBuildDirectorytnormalize_path(tWheelBuilder(t
cmdoptionst
wheelhousetWheelCommandcB@s2eZdZdZdZdZd�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: http://wheel.readthedocs.org/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] <vcs project url> ...
%prog [options] <local project path> ...
%prog [options] <archive url/path> ...s$Build wheels from your requirements.cO@s�tt|�j||�|j}|jdddddddtdd �|jtjj��|jtj j��|jd
ddddd
ddd�|jtj
j��|jtjj��|jtjj��|jtj
j��|jdddd
ddddd�|jdd
ddtdd�|jtjj��tjtj|j�}|jjd|�|jjd|�dS(Ns-ws--wheel-dirtdestt wheel_dirtmetavartdirtdefaultthelpsABuild wheels into <dir>, where the default is '<cwd>/wheelhouse'.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_optiontDEFAULT_WHEEL_DIRRt use_wheeltmaketno_use_wheeltrequirementstdownload_cachetno_depst build_dirtFalsetno_cleantmake_option_grouptindex_grouptparsertinsert_option_group(tselftargstkwRt
index_opts((sC/opt/alt/python35/lib/python3.5/site-packages/pip/commands/wheel.pyR(sF cC@sryddl}Wntk
r/td��nXyddl}Wntk
r_td��nXt|d�s~td��n|jg|j}|jr�tj ddj
|��g}n|jr�tjdd�n|j
rtjdd �||j
7}n|jr&tjj|j�|_n|j|�}td
|jd|d|jd
|jd|jd|jd|jd|jd|� }|jp�|j}t|jd|���} td| ddddd|jd|j dt!d|d|j"�}
tjj#|j"�stj$|j"�nx'|D]}|
j%t&j'|d��q%Wxj|j(D]_}xVt)|d|d|d|�D]6}
|
j*r�tj d|
j+�qwn|
j%|
�qwWqRW|
j,s�i|j-d6}d|}tj.|�dSzeyAt/|
||j"d |j0p
gd!|j1pg�}|j2�Wnt3k
rLt!|_�nXWd|jsg|
j4�nXWdQXdS("NisN'pip wheel' requires the 'wheel' package. To fix this, run: pip install wheelsp'pip wheel' requires setuptools >= 0.8 for dist-info support. To fix this, run: pip install --upgrade setuptoolstDistInfoDistributionsIgnoring indexes: %st,s1.7s�--use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.s�--mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.t
find_linkst
index_urlsR!tallow_externaltallow_unverifiedtallow_all_externaltallow_all_prereleasestprocess_dependency_linkstsessiontdeleteR'tsrc_dirtdownload_dirR%tignore_dependenciestignore_installedtwheel_download_dirtfinderRsignoring %stnamesLYou must give at least one requirement to %(name)s (see "pip help %(name)s")RR(5twheel.bdist_wheeltImportErrorRt
pkg_resourcesthasattrt index_urltextra_index_urlstno_indexRtnotifytjointuse_mirrorst
deprecatedtmirrorsR'tostpathtabspatht_build_sessionRR4R!R6R7R8tpreR:R)R RtNoneR%R?tTrueRtexiststmakedirstadd_requirementRt from_lineR$Rteditableturlthas_requirementsRCterrorRRRtbuildRt
cleanup_files(R.RR/RRFR5R;RBtbuild_deleteR'trequirement_setRCtfilenametreqtoptstmsgtwb((sC/opt/alt/python35/lib/python3.5/site-packages/pip/commands/wheel.pytrunUs�
(t__name__t
__module__t__doc__RCtusagetsummaryRRh(((sC/opt/alt/python35/lib/python3.5/site-packages/pip/commands/wheel.pyRs -(t
__future__RRPtsystpip.basecommandRt pip.indexRtpip.logRtpip.exceptionsRRtpip.reqRRRtpip.utilR R
t pip.wheelRtpipRRQRLtcurdirR R(((sC/opt/alt/python35/lib/python3.5/site-packages/pip/commands/wheel.pyt<module>s