asda?‰PNG  IHDR ? f ??C1 sRGB ??é gAMA ±? üa pHYs ? ??o¨d GIDATx^íüL”÷e÷Y?a?("Bh?_ò???¢§?q5k?*:t0A-o??¥]VkJ¢M??f?±8\k2íll£1]q?ù???T usr/lib/python2.7/site-packages/setuptools/wheel.pyo000064400000016215151027757750016516 0ustar00 fc@sdZddlmZddlZddlZddlZddlZddlZddlm Z m Z m Z ddl m Z ddlm ZddlmZddlmZejd ejjZd Zd Zd efd YZdS(sWheels support.i(t get_platformN(t Distributiont PathMetadatat parse_version(tPY3(R(t pep425tags(twrite_requirementss^(?P.+?)-(?P\d.*?) ((-(?P\d.*?))?-(?P.+?)-(?P.+?)-(?P.+?) )\.whl$stry: __import__('pkg_resources').declare_namespace(__name__) except ImportError: __path__ = __import__('pkgutil').extend_path(__path__, __name__) c CsBxtj|D]\}}}tjj||}xK|D]C}tjj||}tjj|||}tj||q;Wxttt|D]e\} } tjj|| }tjj||| }tjj |stj|||| =qqWqWx3tj|dt D]\}}}tj |qWdS(sDMove everything under `src_dir` to `dst_dir`, and delete the former.ttopdownN( tostwalktpathtrelpathtjointrenamestreversedtlistt enumeratetexiststTruetrmdir( tsrc_dirtdst_dirtdirpathtdirnamest filenamestsubdirtftsrctdsttntd((s4/usr/lib/python2.7/site-packages/setuptools/wheel.pytunpacks %%tWheelcBs5eZdZdZdZdZdZRS(cCswttjj|}|dkr7td|n||_x0|jjD]\}}t |||qSWdS(Nsinvalid wheel name: %r( t WHEEL_NAMERR tbasenametNonet ValueErrortfilenamet groupdicttitemstsetattr(tselfR%tmatchtktv((s4/usr/lib/python2.7/site-packages/setuptools/wheel.pyt__init__7s   cCs7tj|jjd|jjd|jjdS(s>List tags (py_version, abi, platform) supported by this wheel.t.(t itertoolstproductt py_versiontsplittabitplatform(R)((s4/usr/lib/python2.7/site-packages/setuptools/wheel.pyttags?scs/tjtfd|jDtS(s5Is the wheel is compatible with the current platform?c3s!|]}|krtVqdS(N(R(t.0tt(tsupported_tags(s4/usr/lib/python2.7/site-packages/setuptools/wheel.pys Hs(Rt get_supportedtnextR5tFalse(R)((R8s4/usr/lib/python2.7/site-packages/setuptools/wheel.pyt is_compatibleEs cCsAtd|jd|jd|jdkr-dntjdS(Nt project_nametversionR4tanys.egg(RR=R>R4R#Rtegg_name(R)((s4/usr/lib/python2.7/site-packages/setuptools/wheel.pyR@Js$c stj|jd|j|jf}d|d|fd}|d}|d}t|jd}td|kotd knstd |ntj |j |tj j |t j|d t|d tttjfd jD}tj j |d}tj|tjtj j |dtj j |dtdtdd|} t| jddtj j |dtj j |tj j d} tj j| rtj j |dd} tj | xstj| D]b} | jdrtjtj j | | q\tjtj j | | tj j | | q\Wtj| nx:t tj jfdd!DD]} t!| |qWtj jr1tjntj j |d}tj j|rt"|}|j#j$}WdQXx|D]}tj j ||j$d}tj j |d}tj j|rtj j| rt"|d }|j%t&WdQXqqWnWdQXdS("s"Install wheel as an egg directory.s%s-%ss %s.dist-infos%s.datacscjd|fD}tr7|jjdn |j}tjjj|SWdQXdS(Ns%s/%ssutf-8(topenRtreadtdecodetemailtparsertParsertparsestr(tnametfptvalue(t dist_infotzf(s4/usr/lib/python2.7/site-packages/setuptools/wheel.pyt get_metadataVs'tWHEELtMETADATAs Wheel-Versions1.0s2.0dev0s$unsupported wheel format version: %stmetadatacSsd|_t|S(N(R#tmarkertstr(treq((s4/usr/lib/python2.7/site-packages/setuptools/wheel.pytraw_reqls c sJi|]@}ttfdtj|fD|qS(c3s!|]}|kr|VqdS(N((R6RS(tinstall_requires(s4/usr/lib/python2.7/site-packages/setuptools/wheel.pys rs(Rtsortedtmaptrequires(R6textra(tdistRURT(s4/usr/lib/python2.7/site-packages/setuptools/wheel.pys qs sEGG-INFOsPKG-INFOtattrsRUtextras_requiretegg_infos requires.txttscriptss.pycc3s$|]}tjj|VqdS(N(RR R (R6R(t dist_data(s4/usr/lib/python2.7/site-packages/setuptools/wheel.pys stdatatheaderstpurelibtplatlibsnamespace_packages.txtNR.s __init__.pytw(R`RaRbRc('tzipfiletZipFileR%R=R>RtgetR$Rtmkdirt extractallR R Rt from_locationRRRVRWRXtextrastrenametSetuptoolsDistributiontdictRtget_command_objR#RtlistdirtendswithtunlinkRtfilterRRARBR2twritetNAMESPACE_PACKAGE_INIT(R)tdestination_eggdirt dist_basenameRMtwheel_metadatat dist_metadatat wheel_versionR\R]t setup_disttdist_data_scriptstegg_info_scriptstentryRtnamespace_packagesRItmodtmod_dirtmod_init((RZR_RKRURTRLs4/usr/lib/python2.7/site-packages/setuptools/wheel.pytinstall_as_eggPsr    (    !        %(t__name__t __module__R-R5R<R@R(((s4/usr/lib/python2.7/site-packages/setuptools/wheel.pyR 5s     (t__doc__tdistutils.utilRRDR/RtreRet pkg_resourcesRRRtsetuptools.extern.sixRt setuptoolsRmRtsetuptools.command.egg_infoRtcompiletVERBOSER*R!RuRtobjectR (((s4/usr/lib/python2.7/site-packages/setuptools/wheel.pyts"      usr/lib/python2.7/site-packages/pip/wheel.pyo000064400000061202151027767410015053 0ustar00 abc @@s dZddlmZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlmZddlmZddlmZddlZddlmZddlmZmZdd lmZmZm Z dd l!m"Z"m#Z#dd lm$Z$dd l%m&Z&m'Z'm(Z(m)Z)m*Z*dd l+m,Z,ddl-m.Z.ddl/m0Z0ddl1m2Z2ddl3m4Z4ddl5m6Z6ddl7m8Z8dZ9ddfZ:ej;e<Z=de>fdYZ?dZ@dZAddd>dZBdZCdZDe jEde jFZGd ZHd!ZIeJeKeKeLeKeJeKeKd"ZMd#ZNeNd$ZOd%ZPd&ZQd'e>fd(YZRd)e>fd*YZSdS(+sH Support for installing and building the "wheel" binary package format. i(tabsolute_importN(turlsafe_b64encode(tParser(tStringIO(t expanduser(t path_to_urlt unpack_url(tInstallationErrortInvalidWheelFilenametUnsupportedWheel(tdistutils_schemetPIP_DELETE_MARKER_FILENAME(t pep425tags(tcall_subprocesst ensure_dirtcaptured_stdouttrmtreet read_chunks(t open_spinner(t indent_log(tSETUPTOOLS_SHIM(t ScriptMaker(t pkg_resources(tcanonicalize_name(t configparsers.whlit WheelCachecB@s eZdZdZdZRS(s&A cache of wheels for future installs.cC@s(|rt|nd|_||_dS(sCreate a wheel cache. :param cache_dir: The root of the cache. :param format_control: A pip.index.FormatControl object to limit binaries being read from the cache. N(RtNonet _cache_dirt_format_control(tselft cache_dirtformat_control((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt__init__8scC@st|j||j|S(N(t cached_wheelRR(Rtlinkt package_name((s-/usr/lib/python2.7/site-packages/pip/wheel.pyR!Bs(t__name__t __module__t__doc__R R!(((s-/usr/lib/python2.7/site-packages/pip/wheel.pyR5s cC@s|jg}|jdk rO|jdk rO|jdj|j|jgndj|}tj|jj }|d |dd!|dd!|dg}t j j|d|S(s Return a directory to store cached wheels in for link. Because there are M wheels for any one sdist, we provide a directory to cache them in, and then consult that directory when looking up cache hits. We only insert things into the cache if they have plausible version numbers, so that we don't contaminate the cache with things that were not unique. E.g. ./package might have dozens of installs done for it and build a version of 0.0...and if we built and cached a wheel, we'd end up using the same wheel even if the source has been edited. :param cache_dir: The cache_dir being used by pip. :param link: The link of the sdist for which this will cache wheels. t=t#iiitwheelsN( turl_without_fragmentt hash_nameRthashtappendtjointhashlibtsha224tencodet hexdigesttostpath(RR"t key_partstkey_urlthashedtparts((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt_cache_for_linkGs %(c C@ss|s |S|s|S|jr!|S|js.|S|s8|St|}tjj||}d|kri|St||}ytj|}Wn5t k r}|j t j t j fkr|SnXg} x`|D]X} yt | } Wntk rqnX| jsqn| j| j| fqW| s6|S| jtjj|| dd} tjjt| S(Ntbinaryii(tis_wheelt is_artifactRtpiptindextfmt_ctl_formatsR9R3tlistdirtOSErrorterrnotENOENTtENOTDIRtWheelRt supportedR-tsupport_index_mintsortR4R.tLinkR( RR"RR#tcanonical_nametformatstroott wheel_namestet candidatest wheel_nametwheelR4((s-/usr/lib/python2.7/site-packages/pip/wheel.pyR!psF        tsha256icC@stj|}d}t|dA}x7t|d|D]#}|t|7}|j|q:WWdQXdt|jjdj d}||fS(s6Return (hash, length) for path using hashlib.new(algo)itrbtsizeNssha256=tlatin1R'( R/tnewtopenRtlentupdateRtdigesttdecodetrstrip(R4talgot blocksizethtlengthtftblockRZ((s-/usr/lib/python2.7/site-packages/pip/wheel.pytrehashscC@sItjddkr"i}d}nidd6}d}t||||S(Niitbttnewline(tsyst version_infoRW(tnametmodetnltbin((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt open_for_csvs   cC@stjj|rt|dd}|j}|jdsCtStjj tj }d|tj j d}|j }WdQXt|d!}|j ||j |WdQXtSdS(sLReplace #!python with #!/path/to/python Return True if file was changed.RSs#!pythons#!tasciiNtwb(R3R4tisfileRWtreadlinet startswithtFalseRgt executableR1tgetfilesystemencodingtlineseptreadtwritetTrue(R4tscriptt firstlinetexenametrest((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt fix_scripts  sZ^(?P(?P.+?)(-(?P\d.+?))?) \.dist-info$cC@s|jdd}xtj|D]}tj|}|r"|jd|kr"ttjj||d:}x0|D](}|j j }|dkrzt SqzWWdQXq"q"Wt S(sP Return True if the extracted wheel in wheeldir should go into purelib. t-t_RitWHEELsroot-is-purelib: trueN( treplaceR3R@t dist_info_retmatchtgroupRWR4R.tlowerR\RyRs(Ritwheeldirt name_foldedtitemRRQtline((s-/usr/lib/python2.7/site-packages/pip/wheel.pytroot_is_purelibs!  cC@stjj|siifSt|N}t}x.|D]&}|j|j|jdq;W|jdWdQXtj }d|_ |j |i}i}|j drt |jd}n|j drt |jd}n||fS(Ns icS@s|S(N((toption((s-/usr/lib/python2.7/site-packages/pip/wheel.pytRetconsole_scriptst gui_scripts(R3R4texistsRWRRxtstriptseekRtRawConfigParsert optionxformtreadfpt has_sectiontdicttitems(tfilenametfptdataRtcptconsoletgui((s-/usr/lib/python2.7/site-packages/pip/wheel.pytget_entrypointss$      c ,@s|s3t|d|d|d|d|d| }nt| rO|dn |dgg jtjjtjj} itg} |rt@} tj +tj dt j | d t d t Wd QXWd QXtj| jnd t fd  d d  fd}|| t tjjdd}t|\fd}xD]}d }d }xtjtjj |D]e}d }|dkrt}|}ntjj ||} ||}|| |td|d|qWqWtd |dt _td/_t _ fd}|_d_jdd }|rdtjkrd|}| jj |ntjj!dddkr$dt"j#d |f}| jj |ndt"j#d |f}| jj |gD]}t$j%d|rX|^qX}x|D] }|=qWnjd d }|rTdtjkrd!|}| jj |nd"t"j#d |f}| jj |gD]}t$j%d#|r|^q}x|D] }|=q@Wnt&dkr| jj'gj(D]}d$|^qnt&dkr| jj'gj(D]}d$|^qit d%6ntjjdd&}tjjdd'}t)|d(} | j*d)Wd QXt+j,||| j-|tjjdd*}!tjjdd+}"t.|!d,\}#t.|"d-D}$t/j0|#}%t/j1|$}&xj|%D]b}'j|'d|'d|'d<|'dkr2t2|'d\|'d<|'d.j|ndS(s6Map archive RECORD paths to installation RECORD paths.N(tadd(tsrcfiletdestfiletmodifiedtoldpathtnewpath(tchangedt installedtlib_dirRR(s-/usr/lib/python2.7/site-packages/pip/wheel.pytrecord_installeds  c@sct|xRtj|D]A\}}}|t|jtjj}tjj||} |r|jtjjddj drqnx|D]} tjj||| } |r|dkr| j drj | qq|r| j drt | j t j rj | qqWx*|D]"} |rS|| rSq5ntjj|| } tjj||| }t| tj| |tj| }ttdrtj||j|jfntj| tjr,tj| }|jtjBtjBtjB}tj||nt}|rG||}n| ||q5WqWdS(Niis.dataRes .dist-infotutime(RR3twalkRXtlstripR4RR.tsplittendswithR-RRrRitshutiltcopyfiletstatthasattrRtst_atimetst_mtimetaccesstX_OKtst_modetS_IXUSRtS_IXGRPtS_IXOTHtchmodRs(tsourcetdesttis_basetfixertfiltertdirtsubdirstfilestbasedirtdestdirtst destsubdirRaRRtstt permissionsR(t data_dirstinfo_dirRtreq(s-/usr/lib/python2.7/site-packages/pip/wheel.pytclobbersD + !    isentry_points.txtc@s|jjdr"|d }nJ|jjdrD|d }n(|jjdrf|d }n|}|kp|kS(Ns.exeis -script.pyis.pya(RR(Rit matchname(RR(s-/usr/lib/python2.7/site-packages/pip/wheel.pytis_entrypoint_wrapperas   tscriptsRRRec@s^|jdkr(td|fnji|jd6|jjddd6|jd6S(NsInvalid script entry point: %s for req: %s - A callable suffix is required. Cf https://packaging.python.org/en/latest/distributing.html#console-scripts for more information.tmodulet.it import_nametfunc(tsuffixRRtscript_templateRR(tentry(tmakerR(s-/usr/lib/python2.7/site-packages/pip/wheel.pyt_get_script_texts  s# -*- coding: utf-8 -*- import re import sys from %(module)s import %(import_name)s if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(%(func)s()) R=tENSUREPIP_OPTIONSspip = t altinstalls pip%s = %siispip(\d(\.\d)?)?$t easy_installseasy_install = seasy_install-%s = %sseasy_install(-\d\.\d)?$s%s = %sRt INSTALLERs INSTALLER.pipRospip tRECORDs RECORD.piptrsw+i(Re(6R RR\R3R4RtsetRtwarningstcatch_warningstfilterwarningst compileallt compile_dirRytloggertdebugtgetvalueRsRR.RR@R~RRtvariantstset_modeRRtpoptenvirontextendtmaketgetRgtversiontreRRXt make_multipleRRWRxRtmoveR-RmtcsvtreadertwriterRctwriterowRrR(,RiRRRRRLt pycompiletschemeRRtstrip_file_prefixRt generatedtstdoutRtep_fileRtdatadirRRtsubdirRRt pip_scripttspectktpip_epteasy_install_scriptteasy_install_eptkvt installerttemp_installertinstaller_filetrecordt temp_recordt record_int record_outRRtrowRaR_tlt final_path(( RRRRRRRRRRRRs-/usr/lib/python2.7/site-packages/pip/wheel.pytmove_wheel_filess       % ; %   $   # +  + 0   !  *c@s"tjfd}|S(Nc?@sHt}x8||D]'}||kr|j||VqqWdS(N(RR(targstkwtseenR(tfn(s-/usr/lib/python2.7/site-packages/pip/wheel.pytuniques    (t functoolstwraps(R$R%((R$s-/usr/lib/python2.7/site-packages/pip/wheel.pyt_uniquescc@sddlm}tj||jd}x|D]y}tjj|j|d}|V|j dr5tjj |\}}|d }tjj||d}|Vq5q5WdS(s Yield all the uninstallation paths for dist based on RECORD-without-.pyc Yield paths to all the files in RECORD. For each .py file in RECORD, add the .pyc in the same directory. UninstallPathSet.add() takes care of the __pycache__ .pyc. i(tFakeFileRs.pyis.pycN( t pip.utilsR)RRtget_metadata_linesR3R4R.tlocationRR(tdistR)RRR4tdnR$tbase((s-/usr/lib/python2.7/site-packages/pip/wheel.pytuninstallation_paths"s   cC@sygtjd|D] }|^qd}|jd}tj|}|dj}ttt |j d}|SWnt SXdS(s Return the Wheel-Version of an extracted wheel, if possible. Otherwise, return False if we couldn't parse / extract it. iRs Wheel-VersionRN( Rt find_on_pathRt get_metadataRtparsestrRttupletmaptintRRs(t source_dirtdR-t wheel_dataR((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt wheel_version8s)cC@s|std|n|dtdkrXtd|djtt|fn1|tkrtjddjtt|ndS(s Raises errors or warns if called with an incompatible Wheel-Version. Pip should refuse to install a Wheel-Version that's a major series ahead of what it's compatible with (e.g 2.0 > 1.1); and warn when installing a version only minor version ahead (e.g 1.2 > 1.1). version: a 2-tuple representing a Wheel-Version (Major, Minor) name: name of wheel or package to raise exception about :raises UnsupportedWheel: when an incompatible Wheel-Version is given s(%s is in an unsupported or invalid wheelisB%s's Wheel-Version (%s) is not compatible with this version of pipRs*Installing from a newer Wheel-Version (%s)N(R tVERSION_COMPATIBLER.R5tstrRtwarning(RRi((s-/usr/lib/python2.7/site-packages/pip/wheel.pytcheck_compatibilityKs % REcB@sDeZdZejdejZdZddZ ddZ RS(s A wheel files^(?P(?P.+?)-(?P\d.*?)) ((-(?P\d.*?))?-(?P.+?)-(?P.+?)-(?P.+?) \.whl|\.dist-info)$c@sjj|}|s+td|n|_|jdjdd_|jdjdd_|jdjd_ |jdjd_ |jd jd_ t fd j D_ d S( sX :raises InvalidWheelFilename: when the filename is invalid for a wheel s!%s is not a valid wheel filename.RiRRtvertpyverRtabitplatc3@s>|]4}jD]$}jD]}|||fVqqqdS(N(tabistplats(t.0txtytz(R(s-/usr/lib/python2.7/site-packages/pip/wheel.pys sN(t wheel_file_reRRRRRRiRRt pyversionsRCRDRt file_tags(RRt wheel_info((Rs-/usr/lib/python2.7/site-packages/pip/wheel.pyR ts cC@s]|dkrtj}ng|jD]!}||kr"|j|^q"}|rYt|SdS(s" Return the lowest index that one of the wheel's file_tag combinations achieves in the supported_tags list e.g. if there are 8 supported tags, and one of the file tags is first in the list, then return 0. Returns None is the wheel is not supported. N(RR tsupported_tagsRKR>tmin(Rttagstctindexes((s-/usr/lib/python2.7/site-packages/pip/wheel.pyRGs  1cC@s4|dkrtj}ntt|j|jS(s'Is this wheel supported on this system?N(RR RMtboolRt intersectionRK(RRO((s-/usr/lib/python2.7/site-packages/pip/wheel.pyRFs  N( R$R%R&RtcompiletVERBOSERIR RRGRF(((s-/usr/lib/python2.7/site-packages/pip/wheel.pyREhs   t WheelBuildercB@sSeZdZdddZddZdZddZdZe dZ RS(s#Build wheels from a RequirementSet.cC@sO||_||_|jj|_|j|_|p6g|_|pEg|_dS(N( trequirement_settfindert _wheel_cacheRt _cache_roottwheel_download_dirt _wheel_dirt build_optionstglobal_options(RRWRXR]R^((s-/usr/lib/python2.7/site-packages/pip/wheel.pyR s    cC@stjd}z|j||d|ry_tj|d}tjj||}tjtjj|||t j d||SWqqXn|j |dSWdt |XdS(siBuild one wheel. :return: The filename of the built wheel, or None if the build failed. s pip-wheel-t python_tagisStored in directory: %sN(ttempfiletmkdtempt_WheelBuilder__build_oneR3R@R4R.RRRtinfot _clean_oneRR(RRt output_dirR_ttempdRPt wheel_path((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt _build_ones cC@s'tjddt|jgt|jS(Ns-us-c(RgRtRtsetup_pytlistR^(RR((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt_base_setup_argss  c C@s|j|}d|jf}t|}tjd||dd|g|j}|dk rw|d|g7}ny't|d|jdt d|t SWn(|j d tj d |jt SXWdQXdS( Ns#Running setup.py bdist_wheel for %ssDestination directory: %st bdist_wheels-ds --python-tagtcwdt show_stdouttspinnerterrorsFailed building wheel for %s( RkRiRRRR]RR t setup_py_dirRsRytfinishRp(RRRfR_t base_argst spin_messageRot wheel_args((s-/usr/lib/python2.7/site-packages/pip/wheel.pyt __build_ones   cC@su|j|}tjd|j|ddg}y!t|d|jdttSWntjd|jtSXdS(NsRunning setup.py clean for %stcleans--allRmRns Failed cleaning build dir for %s( RkRRcRiR R7RsRyRp(RRRst clean_args((s-/usr/lib/python2.7/site-packages/pip/wheel.pyRdsc C@s|jj|j|jjj}g}x!|D]}|jrGq2n|jro|sKtjd|j qKq2|r|j rq2|r|j r|j j rq2|r|j rq2|r>|j }|j\}}tjj|d |d krq2ndtjj|jjt|j kr>tjd|j q2q>n|j|q2W|sYtStjddjg|D]}|j ^qotgg}} xq|D]i}d } |r#tj} t|j|j } yt| Wq,tk r} tj d|j | | j|qq,Xn |j!} |j"|| d| } | r|j||r|j rt#j$j%t#j$j|j t& rt'dn|j(|j)|jj*|_ tjj+t,| |_ t-|j |j d t.d |jj/qq| j|qWWd QX|rQtjd d jg|D]}|j ^q5n| rtjd d jg| D]}|j ^qmnt0| dkS(sBuild wheels. :param unpack: If True, replace the sdist we built from with the newly built wheel, in preparation for installation. :return: True if all the wheels built correctly. s(Skipping %s, due to already being wheel.R:sCSkipping bdist_wheel for %s, due to binaries being disabled for it.s*Building wheels for collected packages: %ss, s Building wheel for %s failed: %sR_sbad source dir - missing markertsessionNsSuccessfully built %st sFailed to build %si(1RWt prepare_filesRXt requirementstvaluest constraintR;RRcRiteditableR"R<R7tsplitextR=R>tegg_info_matchesRR?RRR-RyR.RR timplementation_tagR9RZRRAR=R\RhR3R4RR tAssertionErrortremove_temporary_sourcetbuild_locationt build_dirRIRRRsRyRX(Rt autobuildingtreqsettbuildsetRR"R/textt build_successt build_failureR_ReRNt wheel_file((s-/usr/lib/python2.7/site-packages/pip/wheel.pytbuilds         &               ))N( R$R%R&RR RhRkRbRdRsR(((s-/usr/lib/python2.7/site-packages/pip/wheel.pyRVs     (TR&t __future__RRRRBR&R/tloggingR3tos.pathRRRRgR`Rtbase64Rt email.parserRtpip._vendor.sixRR=t pip.compatRt pip.downloadRRtpip.exceptionsRRR t pip.locationsR R R R*R RRRRt pip.utils.uiRtpip.utils.loggingRtpip.utils.setuptools_buildRtpip._vendor.distlib.scriptsRt pip._vendorRtpip._vendor.packaging.utilsRtpip._vendor.six.movesRt wheel_extR;t getLoggerR$RtobjectRR9R!RcRmR~RTRURRRRsRRyR R(R0R:R>RERV(((s-/usr/lib/python2.7/site-packages/pip/wheel.pytsl               (  ) '    &   7usr/lib/python2.7/site-packages/pip/commands/wheel.pyo000064400000014336151031112110016632 0ustar00 abc@@sddlmZddlZddlZddlZddlmZddlmZm Z ddl m Z ddl m Z ddlmZddlmZdd lmZmZdd lmZejeZd efd YZdS( i(tabsolute_importN(tRequirementCommand(t CommandErrortPreviousBuildDirError(tRequirementSet(timport_or_raise(tBuildDirectory(tRemovedInPip10Warning(t WheelCachet WheelBuilder(t cmdoptionst WheelCommandcB@s;eZdZdZdZdZdZdZdZRS(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@stt|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|jtjtjtj|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@sDtdtdtdtd}t|ds@tdndS(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||jtj|tj||jr@tjdtn|jr\tjdtn|j rxtjdtn|j g|j }|j rt jddj|g}n|jrtjj|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&sdSzpyLt'| |d|j(pgd|j)pg} | j*s0t+dnWnt,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