Ñò 9ÕÒTc/@@sddklZddkZddkZddkZddkZddkZddkZddkZddk Z ddk Z ddk Z ddk Z ddk Z ddklZlZddklZlZddklZlZlZlZlZddklZlZddklZddklZdd k l!Z!dd k"l#Z#e!odd k$l%Z&ndd k$l&Z&d ddddddddddddddddddd d!d"d#d$d%gZ'ei(e)ƒZ*d&„Z+e#d'd(d)d*ƒe,d+„ƒZ-d,„Z.d-„Z/d.d/„Z0ddd0„Z2dd1„Z3d2„Z4d3„Z5d4e6fd5„ƒYZ7e7ƒZ8[7ei9d6ei:ƒZ;d7„Z<d8„Z=d9„Z>d:„Z?d;„Z@d<„ZAd=„ZBd>„ZCd?„ZDd@„ZEdA„ZFdB„ZGdC„ZHdD„ZIdE„ZJdF„ZKeLeeLe,e,dG„ZMdH„ZNdI„ZOdJ„ZPdK„ZQeLdL„ZRdM„ZSdN„ZTdO„ZUeLddeLeiVdddP„ZWdQ„ZXdR„ZYdSe6fdT„ƒYZZdUe&fdV„ƒYZ[ei\dW„ƒZ]dX„Z^dYe6fdZ„ƒYZ_dS([i(tabsolute_importN(tInstallationErrort BadCommand(tconsole_to_strt stdlib_pkgs(t site_packagest user_sitetrunning_under_virtualenvtvirtualenv_no_globaltwrite_delete_marker_file(t pkg_resourcestsix(tinput(t cStringIO(tPY2(tretry(tBytesIO(tStringIOtrmtreet display_patht backup_dirt find_commandtasktInftnormalize_nametsplitextt format_sizetis_installable_dirt is_svn_paget file_contentstsplit_leading_dirthas_leading_dirtmake_path_relativetnormalize_pathtrenamestget_terminal_sizetget_progt unzip_filet untar_filet unpack_filetcall_subprocesstcaptured_stdouttremove_tracebackscC@sSy0tiitidƒdjo dtiSWntttfj onXdS(Nis __main__.pys-cs %s -m piptpip(s __main__.pys-c( tostpathtbasenametsystargvt executabletAttributeErrort TypeErrort IndexError(((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR$0s  tstop_max_delayi¸ t wait_fixediôcC@sti|d|dtƒdS(Nt ignore_errorstonerror(tshutilRtrmtree_errorhandler(tdirR7((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR:scC@sCti|ƒiti@o"ti|tiƒ||ƒdS‚dS(sÑOn Windows, the files in .svn are read-only, so when rmtree() tries to remove them, an exception is thrown. We catch that here, remove the read-only attribute, and hopefully continue without problems.N(R,tstattst_modetS_IREADtchmodtS_IWRITE(tfuncR-texc_info((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR:@s  cC@s¨tiitii|ƒƒ}tiddjo4|itiƒdƒ}|iti ƒdƒ}n|i ti ƒtii ƒod|t ti ƒƒ}n|S(sTGives the display value for a given path, making it relative to cwd if possible.iitreplacet.(R,R-tnormcasetabspathR/t version_infotdecodetgetfilesystemencodingtencodetgetdefaultencodingt startswithtgetcwdtseptlen(R-((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyROs s.bakcC@sMd}|}x6tii||ƒo|d7}|t|ƒ}qW||S(s\Figure out the name of a directory to back up the given dir to (adding .bak, .bak2, etc)i(R,R-texistststr(R;texttnt extension((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR[s cC@se|djo%tiiddƒitiƒ}nt|tiƒo |g}n|djo t ƒ}ng}|i ƒitiƒD]}t |ƒo ||q‰q‰~}ti i |ƒdi ƒ|jo dg}nxn|D]f}ti i||ƒ}x0|D](}||}ti i|ƒo|Sq Wti i|ƒo|SqçWtd|ƒ‚dS(s<Searches the PATH for the given command and returns its pathtPATHtisCannot find command %rN(tNoneR,tenvirontgettsplittpathsept isinstanceR t string_typest get_pathexttlowerROR-RtjointisfileR(tcmdtpathstpathextt_[1]RRR-tcmd_patht cmd_path_ext((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRfs( %   D#    cC@sH|djo"tiiddddgƒ}ntiid|ƒ}|S(s9Returns the path extensions from environment or a defaults.COMs.EXEs.BATs.CMDtPATHEXTN(RWR,R[R`RXRY(tdefault_pathextRd((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR^s "cC@sEx5tiiddƒiƒD]}||jo|SqWt||ƒS(NtPIP_EXISTS_ACTIONRV(R,RXRYRZR(tmessagetoptionstaction((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pytask_path_exists‰s   cC@s|xutiidƒotd|ƒ‚nt|ƒ}|iƒiƒ}||jod|di|ƒfGHq|SqdS(s@Ask the message interactively, with the given possible responsest PIP_NO_INPUTs7No input was expected ($PIP_NO_INPUT set); question: %ss<Your response (%r) was not one of the expected responses: %ss, N(R,RXRYt ExceptionR tstripR_R`(RkRltresponse((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRs  t_InfcB@sMeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z RS(sI am bigger than everything!cC@s||jotStSdS(N(tTruetFalse(tselftother((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt__eq__¦s cC@s|i|ƒ S(N(Rx(RvRw((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt__ne__¬scC@stS(N(Ru(RvRw((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt__lt__¯scC@stS(N(Ru(RvRw((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt__le__²scC@stS(N(Rt(RvRw((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt__gt__µscC@stS(N(Rt(RvRw((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt__ge__¸scC@sdS(NR((Rv((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt__repr__»s( t__name__t __module__t__doc__RxRyRzR{R|R}R~(((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRs£s      s[^a-z]cC@stid|iƒƒS(Nt-(t _normalize_retsubR_(tname((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRÆscC@s^|djod|ddS|d jo d|dS|djo d|dSd|SdS( Niès%.1fMBg@@i s%ikBs%.1fkBs%ibytesi@Bi'((tbytes((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRÊs     cC@sItii|ƒptStii|dƒ}tii|ƒotStS(s@Return True if `path` is a directory containing a setup.py file.ssetup.py(R,R-tisdirRuR`RaRt(R-tsetup_py((s8/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRÕs cC@s)tid|ƒotid|tiƒS(sT Returns true if the page appears to be the index page of an svn repository s[^<]*Revision \d+:s#���Powered by (?:<a[^>]*?>)?Subversion(���t���ret���searcht���I(���t���html(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR���ß���s����c���������C@��sC���t��|��d�ƒ�i�i�ƒ��}�z �|�~�}�|�i�ƒ��i�d�ƒ�SWd��QXd��S(���Nt���rbs���utf-8(���t���opent���__exit__t ���__enter__t���readRH���(���t���filenameRe���t���fp(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR���ç���s����&c���������C@��s§���t��|��ƒ�}��|��i�d�ƒ�i�d�ƒ�}��d�|��j�oJ�d�|��j�o�|��i�d�ƒ�|��i�d�ƒ�j��p �d�|��j�o�|��i�d�d�ƒ�Sd�|��j�o�|��i�d�d�ƒ�S|��d�f�Sd��S(���Nt���/s���\i���RV���(���RQ���t���lstript���findRZ���(���R-���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR���ì���s���� 9  c���������C@��sb���d�}�xU�|��D]M�}�t�|�ƒ�\�}�}�|�p�t�S|�d�j�o �|�}�q �|�|�j�o�t�Sq �Wt�S(���sy���Returns true if all the paths have the same leading path name (i.e., everything is in one subdirectory in an archive)N(���RW���R���Ru���Rt���(���Rc���t ���common_prefixR-���t���prefixt���rest(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR���ø���s�����    c���������C@��s=��t��i�i�|��ƒ�}�t��i�i�|��ƒ�}��t��i�i�t��i�i�|��ƒ�ƒ�}��t��i�i�t��i�i�|�ƒ�ƒ�}�|��i�t��i�i�ƒ�i�t��i�i�ƒ�}�|�i�t��i�i�ƒ�i�t��i�i�ƒ�}�xB�|�o:�|�o3�|�d�|�d�j�o�|�i �d�ƒ�|�i �d�ƒ�q«�Wd�g�t �|�ƒ�|�|�g�}�|�d�g�j�o�d�t��i�i�St��i�i�i �|�ƒ�S(���s�� Make a filename relative, where the filename path, and it is relative to rel_to >>> make_path_relative('/usr/share/something/a-file.pth', ... '/usr/share/another-place/src/Directory') '../../../something/a-file.pth' >>> make_path_relative('/usr/share/something/a-file.pth', ... '/home/user/src/Directory') '../../../usr/share/something/a-file.pth' >>> make_path_relative('/usr/share/a-file.pth', '/usr/share/') 'a-file.pth' i����s���..RV���RD���( ���R,���R-���R.���t���dirnamet���normpathRF���Rq���RN���RZ���t���popRO���R`���(���R-���t���rel_tot ���path_filenamet ���path_partst ���rel_to_partst ���full_parts(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR �����s����$$�# c���������C@��s(���t��i�i�t��i�i�t��i�i�|��ƒ�ƒ�ƒ�S(���sN��� Convert a path to its canonical, case-normalized, absolute version. (���R,���R-���RE���t���realpatht ���expanduser(���R-���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR!���$��s����c���������C@��sQ���t��i�|��ƒ�\�}�}�|�i�ƒ��i�d�ƒ�o�|�d�|�}�|�d� }�n�|�|�f�S(���s,���Like os.path.splitext, but take off .tar toos���.tariüÿÿÿ(���t ���posixpathR���R_���t���endswith(���R-���t���baseRR���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR���,��s ����c���������C@��s°���t��i�i�|�ƒ�\�}�}�|�o,�|�o%�t��i�i�|�ƒ� o�t��i�|�ƒ�n�t�i�|��|�ƒ�t��i�i�|��ƒ�\�}�}�|�o2�|�o+�y�t��i�|�ƒ�Wq¬�t�j �o�q¬�Xn�d�S(���s7���Like os.renames(), but handles renaming across devices.N( ���R,���R-���RZ���RP���t���makedirsR9���t���movet ���removedirst���OSError(���t���oldt���newt���headt���tail(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR"���5��s����"c���������C@��s+���t��ƒ��p�t�St�|��ƒ�i�t�t�i�ƒ�ƒ�S(���s›��� Return True if path is within sys.prefix, if we're running in a virtualenv. If we're not in a virtualenv, all paths are considered "local." (���R���Rt���R!���RL���R/���R˜���(���R-���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���is_localF��s���� c���������C@��s���t��t�|��ƒ�ƒ�S(���s��� Return True if given Distribution object is installed locally (i.e. within current virtualenv). Always True if we're not in a virtualenv. (���R¯���t ���dist_location(���t���dist(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt ���dist_is_localR��s����c���������C@��s%���t��t�|��ƒ�ƒ�}�|�i�t��t�ƒ�ƒ�S(���sF��� Return True if given Distribution is installed in user site. (���R!���R°���RL���R���(���R±���t ���norm_path(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���dist_in_usersite]��s����c���������C@��s���t��t�|��ƒ�ƒ�i�t��t�ƒ�ƒ�S(���se��� Return True if given Distribution is installed in distutils.sysconfig.get_python_lib(). (���R!���R°���RL���R���(���R±���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���dist_in_site_packagese��s����c���������C@��s)���d�d�k��l�}�|�i�|��g��ƒ�}�|�i�S(���s$���Is distribution an editable install?i����(���t���FrozenRequirement(���R+���R¶���t ���from_distt���editable(���R±���R¶���t���req(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���dist_is_editableo��s����c��� ������C@��sØ���|��o �t��}�n �d�„��}�|�o �d�„��}�n �d�„��}�|�o �d�„��}�n �d�„��}�|�o �t�}�n �d�„��}�g��} �t�i�D]U�} �|�| �ƒ�oB�| �i�|�j�o2�|�| �ƒ�o%�|�| �ƒ�o�|�| �ƒ�o �| �| �q|�q|�~ �S(���sï�� Return a list of installed Distribution objects. If ``local_only`` is True (default), only return installations local to the current virtualenv, if in a virtualenv. ``skip`` argument is an iterable of lower-case project names to ignore; defaults to stdlib_pkgs If ``editables`` is False, don't report editables. If ``editables_only`` is True , only report editables. If ``user_only`` is True , only report installations in the user site directory. c���������S@��s���t��S(����(���Rt���(���t���d(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���<lambda>��s����c���������S@��s���t��S(����(���Rt���(���R»���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR¼���“��s����c���������S@��s ���t��|��ƒ� S(����(���Rº���(���R»���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR¼���•��s����c���������S@��s ���t��|��ƒ�S(����(���Rº���(���R»���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR¼���˜��s����c���������S@��s���t��S(����(���Rt���(���R»���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR¼���š��s����c���������S@��s���t��S(����(���Rt���(���R»���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR¼���Ÿ��s����(���R²���R´���R ���t ���working_sett���key( ���t ���local_onlyt���skipt���include_editablest���editables_onlyt ���user_onlyt ���local_testt ���editable_testt���editables_only_testt ���user_testRe���R»���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���get_installed_distributionsw��s$����           c���������C@��sÂ���g��}�t��ƒ��oD�t�ƒ��o�|�i�t�ƒ�qy�|�i�t�ƒ�t�o�|�i�t�ƒ�qy�n&�t�o�|�i�t�ƒ�n�|�i�t�ƒ�xB�|�D]:�}�t�i�i�|�|��i�ƒ�d�}�t�i�i �|�ƒ�o�|�Sq€�Wd�S(���s�� Return the path for the .egg-link file if it exists, otherwise, None. There's 3 scenarios: 1) not in a virtualenv try to find in site.USER_SITE, then site_packages 2) in a no-global virtualenv try to find in site_packages 3) in a yes-global virtualenv try to find in site_packages, then site.USER_SITE (don't look in global location) For #1 and #3, there could be odd cases, where there's an egg-link in 2 locations. This method will just return the first one found. s ���.egg-linkN( ���R���R���t���appendR���R���R,���R-���R`���t ���project_nameRa���(���R±���t���sitest���sitet���egglink(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt ���egg_link_pathª��s����    �c���������C@��s���t��|��ƒ�}�|�o�|�S|��i�S(���sÿ��� Get the site-packages location of this distribution. Generally this is dist.location, except in the case of develop-installed packages, where dist.location is the source code location, and we want to know where the egg-link file is. (���RÎ���t���location(���R±���t���egg_link(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR°���Ï��s���� c����������C@��sÏ���d�„��}��|��d�ƒ�p�|��d�ƒ�p �|��d�ƒ�}�|�pF�y8�t��i�t��i�ƒ��t��i�ƒ�}�|��|�ƒ�}�t��i�|�ƒ�Wq|�q|�Xn�|�p.�t��i�i�d�d�ƒ�t��i�i�d�d�ƒ�f�}�n�t�|�d�ƒ�t�|�d�ƒ�f�S( ���sl���Returns a tuple (x, y) representing the width(x) and the height(x) in characters of the terminal window.c������ ���S@��sm���yL�d�d��k��}�d�d��k�}�d�d��k�}�|�i�d�|�i�|��|�i�d�ƒ�ƒ�}�Wn�d��SX|�d�j�o�d��S|�S(���Ni����t���hht���1234(���i����i����(���t���fcntlt���termiost���structt���unpackt���ioctlt ���TIOCGWINSZRW���(���t���fdRÓ���RÔ���RÕ���t���cr(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt ���ioctl_GWINSZà��s����    i����i���i���t���LINESi���t���COLUMNSiP���(���R,���RŽ���t���ctermidt���O_RDONLYt���closeRX���RY���t���int(���RÛ���RÚ���RÙ���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR#���Ý��s���� & .c����������C@��s ���t��i�d�ƒ�}��t��i�|��ƒ�|��S(���sB���Get the current umask which involves having to set it temporarily.i����(���R,���t���umask(���t���mask(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt ���current_umaskû��s���� c��� ��� ���C@��sÖ��t��i�i�|�ƒ�p�t��i�|�ƒ�n�t�|��d�ƒ�}�z‘t�i�|�d�t�ƒ}�t�|�i �ƒ��ƒ�o�|�}�x\|�i �ƒ��D]N}�|�i �}�|�i �|�ƒ�}�|�} �|�o�t �|�ƒ�d�} �n�t��i�i�|�| �ƒ�} �t��i�i�| �ƒ�} �t��i�i�| �ƒ�p�t��i�| �ƒ�n�| �i�d�ƒ�p�| �i�d�ƒ�o(�t��i�i�| �ƒ�p�t��i�| �ƒ�q¿qq�t�| �d�ƒ�} �z�| �i�|�ƒ�Wd�| �i�ƒ��|�i�d�?} �| �o:�t�i�| �ƒ�o*�| �d �@o�t��i�| �d �t�ƒ��d �Bƒ�n�Xqq�WWd�|�i�ƒ��Xd�S( ���sŸ�� Unzip the file (with path `filename`) to the destination `location`. All files are written based on system defaults and umask (i.e. permissions are not preserved), except that regular file members with any execute permissions (user, group, or world) have "chmod +x" applied after being written. Note that for windows, any execute changes using os.chmod are no-ops per the python docs. R���t ���allowZip64i���R”���s���\t���wbNi���iI���iÿ��(���R,���R-���RP���R§���RŽ���t���zipfilet���ZipFileRt���R���t���namelistt���infolistR’���R‘���R���R`���Rš���R¥���t���writeRà���t ���external_attrR<���t���S_ISREGR?���Rä���( ���R’���RÏ���t���flattent���zipfpt���zipt���leadingt���infoR…���t���datat���fnR;���R“���t���mode(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR%�����s8����  �    "(c��� ������C@��s��t��i�i�|�ƒ�p�t��i�|�ƒ�n�|��i�ƒ��i�d�ƒ�p�|��i�ƒ��i�d�ƒ�o �d�}�nm�|��i�ƒ��i�d�ƒ�p�|��i�ƒ��i�d�ƒ�o �d�}�n7�|��i�ƒ��i�d�ƒ�o �d�}�n�t�i�d �|��ƒ�d �}�t�i �|��|�ƒ�}�z+t �g��}�|�i �ƒ��D]$�}�|�i �d �j�o�|�|�i �qï�qï�~�ƒ�}�xà|�i �ƒ��D]Ò}�|�i �}�|�d �j�o�q,n�|�o�t �|�ƒ�d �}�n�t��i�i�|�|�ƒ�}�|�i�ƒ��o(�t��i�i�|�ƒ�p�t��i�|�ƒ�qþq,|�i�ƒ��oL�y�|�i�|�|�ƒ�Wqþt�j �o%�} �t�i�d �|��|�i �| �ƒ�q,qþXq,y�|�i�|�ƒ�} �Wn7�t�t�f�j �o%�} �t�i�d �|��|�i �| �ƒ�q,n�Xt��i�i�t��i�i�|�ƒ�ƒ�p�t��i�t��i�i�|�ƒ�ƒ�n�t �|�d�ƒ�} �z�t�i�| �| �ƒ�Wd�| �i�ƒ��X| �i�ƒ��|�i�d�@o�t��i�|�d�t�ƒ��d�Bƒ�q,q,WWd�|�i�ƒ��Xd�S(���sŸ�� Untar the file (with path `filename`) to the destination `location`. All files are written based on system defaults and umask (i.e. permissions are not preserved), except that regular file members with any execute permissions (user, group, or world) have "chmod +x" applied after being written. Note that for windows, any execute changes using os.chmod are no-ops per the python docs. s���.gzs���.tgzs���r:gzs���.bz2s���.tbzs���r:bz2s���.tart���rs-���Cannot determine compression type for file %ss���r:*t���pax_global_headeri���s/���In the tar file %s the member %s is invalid: %sRæ���NiI���iÿ��(���R,���R-���RP���R§���R_���R¥���t���loggert���warningt���tarfileRŽ���R���t ���getmembersR…���R���R`���R‡���t���issymt���_extract_memberRp���t ���extractfilet���KeyErrorR2���Rš���R9���t ���copyfileobjRà���Rõ���R?���Rä���( ���R’���RÏ���Rõ���t���tarRe���t���memberRñ���Rô���R-���t���excR“���t���destfp(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR&���0��sj���� ,    * �       'c���������C@��s=��t��i�i�|��ƒ�}��|�d�j�p0�|��i�d�ƒ�p �|��i�d�ƒ�p�t�i�|��ƒ�o!�t�|��|�d�|��i�d�ƒ� ƒnÊ�|�d�j�p-�t�i�|��ƒ�p�t �|��ƒ�d�i �ƒ��d�j�o�t �|��|�ƒ�n�|�oQ�|�i �d �ƒ�oA�t �t�|��ƒ�ƒ�o.�d �d�k�l�}�|�d�|�i�ƒ�i�|�ƒ�n'�t�i�d�|��|�|�ƒ�t�d�|�ƒ�‚�d��S(���Ns���application/zips���.zips���.whlRî���s���application/x-gzipi���s���.tars���.tar.gzs���.tar.bz2s���.tgzs���.tbzs ���text/htmli����(���t ���Subversions���svn+sZ���Cannot unpack file %s (downloaded from %s, content-type: %s); cannot detect archive formats%���Cannot determine archive format of %s(���s���.tars���.tar.gzs���.tar.bz2s���.tgzs���.tbz(���R,���R-���R¢���R¥���Rç���t ���is_zipfileR%���Rú���t ���is_tarfileR���R_���R&���RL���R���R���t���pip.vcs.subversionR��t���urlRÖ���Rø���t���criticalR���(���R’���RÏ���t ���content_typet���linkR��(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR'�����s.����    c���������C@��s:���d�}�t��i�|�d�|��ƒ�}��t�o�|��St��i�d�d�|��ƒ�S(���NsR���(?:\W+File "(?:.*)", line (?:.*)\W+(?:.*)\W+\^\W+)?Syntax(?:Error|Warning): (?:.*)RV���s���\*\*\* Error compiling (?:.*)(���R‰���R„���R���(���t���outputt���pattern(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR*���¡��s ����c���������C@��sé��|�d��j�o…�g��}�xi�|��D]a�} �d�| �j�p'�d�| �j�p�d�| �j�p �d�| �j�o�d�| �i�d�d�ƒ�} �n�|�i�| �ƒ�q�Wd�i�|�ƒ�}�n�|�o �d��} �n �t�i�} �t�i�|�d�|�ƒ�t�i �i �ƒ��} �|�o�| �i �|�ƒ�n�y4�t�i �|��d�t�i �d �d��d �| �d �|�d �| �ƒ} �Wn+�t�j �o�} �t�i�d �| �|�ƒ�‚��n�Xg��}�| �d��j �oº�t�t�| �i�i�ƒ��ƒ�ƒ�} �t�| �ƒ�} �x²�| �i�ƒ��}�|�p�Pn�|�i�ƒ��}�|�i�|�d�ƒ�|�o@�|�|�ƒ�}�t�|�t�ƒ�o�|�\�}�}�n�t�i�|�|�ƒ�q…t�i�|�ƒ�q…n#�| �i�ƒ��\�}�}�|�p�d�g�}�| �i�ƒ��| �i�oy�|�oU�|�o.�t�i�d�|�ƒ�t�i�d�i�|�ƒ�d�ƒ�n�t�d�|�| �i�|�f�ƒ�‚�qÄt�i�d�|�| �i�|�ƒ�n�| �d��j �o�t�d�i�|�ƒ�ƒ�Sd��S(���Nt��� s��� t���"t���'s���"%s"s���\"s���Running command %st���stderrt���stdint���stdoutt���cwdt���envs#���Error %s while executing command %sRV���s ���Complete output from command %s:s)��� ----------------------------------------s,���Command "%s" failed with error code %s in %ss$���Command "%s" had error code %s in %s( ���RW���RC���RÉ���R`���t ���subprocesst���PIPERø���t���logR,���RX���t���copyt���updatet���Popent���STDOUTRp���R ��R*���R���R��R‘���R ���t���readlinet���rstripR\���t���tuplet���debugt ���communicatet���waitt ���returncodeRò���R���Rù���(���Rb���t ���show_stdoutt ���filter_stdoutR��t���raise_on_returncodet ���command_levelt ���command_desct ���extra_environt ���cmd_partst���partR��R��t���procR��t ���all_outputt���linet���levelt���returned_stdoutt���returned_stderr(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR(���¬��st���� �4              c������ ���C@��s¬���t��|��d�ƒ�i�i�ƒ��}�z�|�~�}�|�i�ƒ��}�Wd�QXd�t�i�t�ƒ�d�g�}�x;�|�D]3�}�y�|�i�|�ƒ�}�Wn�t�j �o �qW�n�XPqW�Wt �|�ƒ�t �j�p�t �‚�|�S(���sR��Return the contents of *filename*. Try to decode the file contents with utf-8, the preferred system encoding (e.g., cp1252 on some Windows machines), and latin1, in that order. Decoding a byte string with latin1 will never raise an error. In the worst case, the returned string will contain some garbage characters. R���Ns���utf-8t���latin1( ���RŽ���R���R���R‘���t���localet���getpreferredencodingRu���RH���t���UnicodeDecodeErrort���typeR†���t���AssertionError(���R’���Re���R“���Ró���t ���encodingst���enc(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���read_text_file÷��s���� &�c���������C@��s���t��i�|��ƒ�t�|��ƒ�d��S(���N(���R,���R§���R ���(���t ���build_dir(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���_make_build_dir��s���� t���FakeFilec�����������B@��s)���e��Z�d��Z�d�„��Z�d�„��Z�d�„��Z�RS(���sQ���Wrap a list of lines in an object with readline() to make ConfigParser happy.c���������C@��s���d�„��|�Dƒ�|��_��d��S(���Nc���������s@��s���x�|��] �}�|�Vq�Wd��S(���N(����(���t���.0t���l(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pys ���<genexpr>��s��� �(���t���_gen(���Rv���t���lines(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���__init__��s����c���������C@��sP���y5�y�t��|��i�ƒ�SWn�t�j �o�|��i�i��ƒ��SXWn�t�j �o�d�SXd��S(���NRV���(���t���nextRA��t ���NameErrort ���StopIteration(���Rv���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR����s����c���������C@��s���|��i��S(���N(���RA��(���Rv���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���__iter__#��s����(���R���R€���R���RC��R��RG��(����(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR>����s���  t ���StreamWrapperc�����������B@��s&���e��Z�e�d��„��ƒ�Z�e�d�„��ƒ�Z�RS(���c���������C@��s���|�|��_��|��ƒ��S(���N(���t ���orig_stream(���t���clsRI��(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt ���from_stream)��s���� c���������C@��s ���|��i��i�S(���N(���RI��t���encoding(���Rv���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRL��/��s����(���R���R€���t ���classmethodRK��t���propertyRL��(����(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRH��'��s���c���������c@��sR���t��t�|��ƒ�}�t�t�|��t�i�|�ƒ�ƒ�z�t��t�|��ƒ�VWd�t�t�|��|�ƒ�Xd�S(���sË���Return a context manager used by captured_stdout/stdin/stderr that temporarily replaces the sys stream *stream_name* with a StringIO. Taken from Lib/support/__init__.py in the CPython repo. N(���t���getattrR/���t���setattrRH��RK��(���t ���stream_namet ���orig_stdout(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���captured_output4��s ����c�����������C@��s ���t��d�ƒ�S(���sÜ���Capture the output of sys.stdout: with captured_stdout() as stdout: print('hello') self.assertEqual(stdout.getvalue(), 'hello ') Taken from Lib/support/__init__.py in the CPython repo. R��(���RS��(����(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyR)���C��s���� t���cached_propertyc�����������B@��s ���e��Z�d��Z�d�„��Z�d�„��Z�RS(���sô���A property that is only computed once per instance and then replaces itself with an ordinary attribute. Deleting the attribute resets the property. Source: https://github.com/bottlepy/bottle/blob/0.11.5/bottle.py#L175 c���������C@��s���t��|�d�ƒ�|��_�|�|��_�d��S(���NR���(���RO��R���RA���(���Rv���RA���(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRC��W��s����c���������C@��s6���|�d��j�o�|��S|��i�|�ƒ�}�|�i�|��i�i�<|�S(���N(���RW���RA���t���__dict__R���(���Rv���t���objRJ��t���value(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���__get__[��s����  (���R���R€���R���RC��RX��(����(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyRT��O��s��� (`���t ���__future__R����t ���contextlibR4��t���loggingR‰���R,���R¤���R9���R<���R��R/���Rú���Rç���t���pip.exceptionsR���R���t ���pip.compatR���R���t ���pip.locationsR���R���R���R���R ���t ���pip._vendorR ���R ���t���pip._vendor.six.movesR ���R ���t���pip._vendor.sixR���t���pip._vendor.retryingR���t���ioR���R���t���__all__t ���getLoggerR���Rø���R$���Ru���R���R:���R���R���RW���R���R^���Rn���R���t���objectRs���R���t���compileR‹���Rƒ���R���R���R���R���R���R���R���R ���R!���R���R"���R¯���R²���R´���Rµ���Rº���Rt���RÈ���RÎ���R°���R#���Rä���R%���R&���R'���R*���t���DEBUGR(���R;��R=��R>��RH��t���contextmanagerRS��R)���RT��(����(����(����s8���/usr/lib/python2.6/vendor-packages/pip/utils/__init__.pyt���<module>���s²���            (                      / %    . O "   G