๓ 9ีาTc@@s#ddlmZddlZddlZddlZddlmZddlmZddl m Z m Z ddl m Z mZmZddlmZddlmZdd lmZmZdd lmZdd lmZejjeejƒd ƒZeje ƒZ!d efd„ƒYZ"dS(i(tabsolute_importN(tCommand(t PackageFinder(t CommandErrortPreviousBuildDirError(tInstallRequirementtRequirementSettparse_requirements(tnormalize_path(tBuildDirectory(tRemovedInPip7WarningtRemovedInPip8Warning(t WheelBuilder(t cmdoptionst wheelhouset WheelCommandcB@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] ... %prog [options] -r ... %prog [options] [-e] ... %prog [options] [-e] ... %prog [options] ...s$Build wheels from your requirements.c O@sปtt|ƒj||Ž|j}|jdddddddtdd ƒ|jtjjƒƒ|jtj jƒƒ|jd dd dd d dddƒ|jtj jƒƒ|jtj jƒƒ|jtj jƒƒ|jtj jƒƒ|jtjjƒƒ|jtjjƒƒ|jdddd ddd ddƒ|jdd ddtddƒ|jtjjƒƒtjtj|jƒ}|jjd|ƒ|jjd|ƒdS(Ns-ws --wheel-dirtdestt wheel_dirtmetavartdirtdefaultthelpsABuild wheels into , where the default is '/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_DIRR t use_wheeltmaket no_use_wheelteditablet requirementstdownload_cachetsrctno_depst build_dirtFalsetno_cleantmake_option_groupt index_grouptparsertinsert_option_group(tselftargstkwRt index_opts((s8/usr/lib/python2.7/vendor-packages/pip/commands/wheel.pyR1sN   cC@sฮyddl}|jWntk r6tdƒ‚nXyddl}Wntk rftdƒ‚nXt|dƒs…tdƒ‚n|jg|j}|jrรt j ddj |ƒƒg}n|j r฿t jdtƒn|jrt jdtƒ||j7}n|jr$t jd tƒn|jrHtjj|jƒ|_n|j|ƒq}td |jd |d |jd |jd|jd|jd|jd|jd|j d|ƒ }|j!pฦ|j }t"|jd|ƒใ} t#d| d|j$ddd|j&dt'd|j(d|d|j)ƒ} tjj*|j)ƒsOtj+|j)ƒnx0|D](} | j,t-j.| dd|j(ƒƒqVWx9|j/D].} | j,t-j0| d|j1d|j(ƒƒqŒWxG|j2D]<} x3t3| d|d|d|ƒD]} | j,| ƒqํWqศW| j4s.t j5d|j6|j6ƒdSzvyRt7| ||j)d |j8pRgd!|j9pagƒ}|j:ƒs‚td"ƒ‚nWnt;k rขt'|_!‚nXWd|j!sฝ| j<ƒnXWdQXWdQXdS(#NisM'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,sˆ--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.s|--download-cache has been deprecated and will be removed in the future. Pip now automatically uses and configures its cache.t find_linkst index_urlsR"tallow_externaltallow_unverifiedtallow_all_externaltallow_all_prereleasest trusted_hoststprocess_dependency_linkstsessiontdeleteR*tsrc_dirt download_dirtignore_dependenciestignore_installedtisolatedtwheel_download_dirt default_vcstfinderRs@You must give at least one requirement to %s (see "pip help %s")RRs"Failed to build one or more wheels(=twheel.bdist_wheelt bdist_wheelt ImportErrorRt pkg_resourcesthasattrt index_urltextra_index_urlstno_indextloggertinfotjoint use_mirrorstwarningstwarnR tmirrorsR'R R*tostpathtabspatht_build_sessionRR7R"R9R:R;tpreR=R>R,R RRAtNoneRCtTruet isolated_modeRtexiststmakedirstadd_requirementRt from_linet editablest from_editableRGR&Rthas_requirementsterrortnameR RRtbuildRt cleanup_files(R1RR2RRLR8R?RHt build_deleteR*trequirement_setRhtfilenametreqtwb((s8/usr/lib/python2.7/vendor-packages/pip/commands/wheel.pytrungsย                                        (t__name__t __module__t__doc__RhtusagetsummaryRRp(((s8/usr/lib/python2.7/vendor-packages/pip/commands/wheel.pyRs   6(#t __future__RtloggingRXRUtpip.basecommandRt pip.indexRtpip.exceptionsRRtpip.reqRRRt pip.utilsRtpip.utils.buildR tpip.utils.deprecationR R t pip.wheelR tpipR RYRStcurdirR!t getLoggerRqRQR(((s8/usr/lib/python2.7/vendor-packages/pip/commands/wheel.pyts