ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ????????????????????????????????????  V~gc@sddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z dZ dZ dZdZdZdZdZdS( iNc Cstjdd}|jddd|jddddd d d tjj|j}d }ytt|GHWn't k r}d j |GHd}nXt j ddS(Nt descriptions,Recreate wheel of package with given RECORD.t record_paththelpsPath to RECORD files-os --output-dirs>Dir where to place the wheel, defaults to current working dir.tdesttoutdirtdefaultis Failed: {}i( targparsetArgumentParsert add_argumenttostpathtcurdirt parse_argstrewheel_from_recordtvarst BaseExceptiontformattsystexit(tparsertnstretcodete((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pytrun s    cCs3y tjSWn!tk r.ttdtjSXdS(skGet prefix to site-specific directory prefix where the platform independent Python files are installed.t real_prefixN(Rt base_prefixtAttributeErrortgetattrtprefix(((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pyt_get_base_prefixs  cCs'y tjSWntk r"tjSXdS(sF Get exec_prefix dir used to find the machine-specific Python library.N(Rtbase_exec_prefixRt exec_prefix(((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pyt_get_base_exec_prefix)s  c Csrg}tjddkr(tj}ntjttg}g|D]}tjj|rJ|^qJ}x|D]}d}x|D]}tjj ||dj tj }gtj |D]}tjj ||^q}g|D]} tj|| r| ^q} t| dkr| d}qqW|dk r]|jtjj |dqu|jdquW|S(sReturn list of paths to RECORD files for system-installed projects. If a project is not installed, the resulting list contains None instead of a path to its RECORD iis-[^\{0}]+\.dist-infoitRECORDN(Rt version_infotsitetgetsitepackagesRR R R texiststNonetjoinRtseptlistdirtretmatchtlentappend( tprojectstrecordst sys_sitepacktsptprojectR t dist_info_retpt candidatestctfiltered((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pytfind_system_records0s"+  %1+ cCs?tjjtjj|}|t|jtjj}t||\}}t|}tjj||d}t j |dddt j }t j } tj| } xO|D]G\} } } |jtjj|| d| | j| | | gqW| j|ddg|j|| j|j|jS(scRecreates a whee of package with given record_path and returns path to the newly created wheel.s.whltmodetwt compressiontarcnamet(R R tdirnameR,tstripR(tget_records_to_packtget_wheel_nameR'tzipfiletZipFilet ZIP_DEFLATEDtiotBytesIOtcsvtwritertwritetwriterowtwritestrtgetvaluetclosetfilename(RRtsite_dirtrecord_relpathtto_writetto_omittnew_wheel_nametnew_wheel_patht new_wheelt new_recordRHtftsha_hashtsize((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pyR Ns  " c Cstjjtjj|d}tj|dd%}tjjj |j }WdQXtjjtjj|d}tj|dd%}tjjj |j }WdQX|j d}|j d}d} g} x1|j d D] } | j | jd d qWd j| } |j d jd d d!\} } td||| | | | g}d jt|S(s.Return proper name of the wheel, without .whl.tWHEELtencodingsutf-8NtMETADATAtNametVersionR=tTagt-it.ii(R R R'R>tcodecstopentemailRtParsertparsestrtreadtgettget_allR-tsplittfilterR&tlist(Rtwheel_info_pathtwheel_info_filet wheel_infot metadata_patht metadata_filetmetadatat distributiontversiont build_tagtlang_tagtttabi_tagtplat_tagtto_join((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pyRAjs !$!$%!c CsUtjj||}tj|dd}|j}WdQXtjj|jtjj}|t d d}g}g}x|j D]}|j d} t | dkrtjj | ds'| dj d s'| djd s'| djd s'| d|ks'| dj |r7|j| qG|j| qqW||fS( sAccepts path of sitedir and path of RECORD file relative to it. Returns two lists: - list of files that can be written to new RECORD straight away - list of files that shouldn't be written or need some processing (pyc and pyo files, scripts) R[sutf-8Ns dist-infotdatat,iis..s.pycs.pyo(R R R'RbRcRgR>R?R(R,t splitlinesRjtisabst startswithtendswithR-( RORPtrecord_file_patht record_filetrecord_contentstdata_dirRQRRtltspl((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pyR@s"!)&#(RRbRGt email.parserRdR RER*R#t subprocessRRBRRR R8R RAR@(((s?/opt/alt/python27/lib64/python2.7/ensurepip/rewheel/__init__.pyts"