σ •abc@@sιddlmZddlZddlZddlZddlmZddlmZm Z ddl m Z ddl m Z ddlmZddlmZdd lmZmZdd lmZejeƒZd efd „ƒ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] ... %prog [options] -r ... %prog [options] [-e] ... %prog [options] [-e] ... %prog [options] ...s$Build wheels from your requirements.c O@sοtt|ƒj||Ž|j}|jdddddddtjdd ƒ|jtjƒƒ|jtj ƒƒ|jtj ƒƒ|jtj ƒƒ|jd dd dd 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 , 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(tsuperR t__init__tcmd_optst add_optiontostcurdirR t use_wheelt no_use_wheelt no_binaryt only_binaryt constraintsteditablet requirementstsrctignore_requires_pythontno_depst build_dirtFalsetno_cleantrequire_hashestmake_option_groupt index_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 c C@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 |jd td |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'tisolatedtsessiont wheel_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.pyR s  : (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.pyts