m )Dc@sdZdkZdkZdkZdkZdkZdkZdkZeei do dZ ndZ dk l Z dZ dk lZdZd fd YZd fd YZd Zedjo,y eZWnej o dGHnXndkZdkZyeWn ej odklZnXeZ[d efdYZheid<eid<eid<ei d<ei!d<ei"d<ei#d<ei$d<ei%d<ei&d Nonesdetermine_parent ->t.( RR0RDR1RRtpnameRR!RGtAssertionErrortrfindR*(RRDRGR*RO((R RFs&      cCs?|idd||d|jo+|id}|| }||d}n |}d}|od|i|f}n|}|i |||}|o'|i dd||f||fSn|oS|}d}|i |||}|o'|i dd||f||fSqn|i dd|td |dS( NiRHRNiR3s%s.%ssfind_head_package ->s"raise ImportError: No module namedsNo module named (RR0RGRtfindR*theadRJRtqnamet import_moduleRIR1Rt ImportError(RRGRRSR*RTRIRJ((R RHs.  cCs|idd|||}x|o|id}|djot|}n|| ||d}}d|i |f}|i |||}|p$|i dd|t d|qqW|i dd ||S( NiRKRNiis%s.%ss"raise ImportError: No module namedsNo module named s load_tail ->(RR0RIRJRLRRR*tlenRSRtmnameRUR1RV(RRIRJRSR*RXRL((R RKs cCs|idd|||x|D]}|djo<|p1|i|}|o|i||dqkqq t ||pDd|i |f}|i |||}|ptd|qq q WdS(NiRMt*is%s.%ssNo module named (RR/RLREt recursivetsubtfind_all_submodulestallRMthasattrRtsubnameRUtsubmodRV(RRLRERZR]R_R`R[((R RMs c Cs|ipdSnh}g} x%tiD]}| i|dq+Wx|iD]} yt i | }Wn,t i j o|idd| qPnXxu|D]m}d}x<| D]4}t|}|| |jo|| }PqqW|o|djo|||simport_module -> None(RR0tpartnametfqnameRGR!RLtKeyErrorR1R"thas_keyRRt find_moduleR8R5R;RVR<tclosetsetattr(RRkRlRGR8RLR;R5((R RUs8 # c Cs|\}}}|idd||od||ti jo-|i ||} |i dd| | Sn|ti jo t|id|d}nw|tijo`|idtijo$|i dd|td |n|idti|}nd}|i|} || _|o:|io|i|}n|| _|i|| n|i dd| | S( NiR<R8sload_module ->s texecis#raise ImportError: Bad magic numbersBad magic number in %s(tsuffixtmodettypeRR0RlR8R5R9t PKG_DIRECTORYt load_packageRLR1R:tcompiletreadtcot PY_COMPILEDt get_magicRVtmarshaltloadRt add_moduleRR&treplace_paths_in_codeRt scan_code( RRlR8R5t.8RsRtRuRzRL((R R<s.      cCs9||ijoh|i|tj o2}|iddt||i||nX|ox|D]}||ijo|i||qny|i|||gWqtj o@}|iddt||d|}|i||qXqWndS(Nis ImportError:RN( RRR"RRDRCRVR/R+RER[tfullname(RRRDRER/RR[((R t_safe_import_hook/s(t LOAD_CONSTt IMPORT_NAMEt STORE_NAMEt STORE_GLOBALcCs|i} |i} t| }d}d}x]||joO| |} |d}| |jo|d}n| |jo,|d| |d|!d} | | }q-| |jo|djpt|tjpt|d| |d|!d} |i| }d} |dj oMd|jo d} ng}|D]}|djo ||q6q6~}n|i|||| od}|io!|ii|id|}n|djo|ii|}n|dj oK|i i!|i |i"i!|i"|i#djod|i"|(RR0RlR5R RR RRLRRRRoR8tbufR;R<R1(RRlR5R8R;R RLR((R Rws   cCs=|ii|o|i|Snt||i|<}|S(N(RR!RnRlRRL(RRlRL((R RscCs|dj o|id|}n|}||ijo |idd|t|n|djo:|t i joddddt i ffSn|i }nt i||S(NRNisfind_module -> ExcludedR3(RGRRRRRR%R1RVRR tbuiltin_module_namesR9t C_BUILTINRo(RRRRGR((R Ros    cCsCHddGHddGH|ii}|ixH|D]@}|i|}|iodGndGd|G|ipdGHq3W|i\}}|oRHd GHxI|D]=}|i |i}|id G|Gd Gd i|GHqWn|oVHd GdGHxI|D]=}|i |i}|id G|Gd Gd i|GHqWndS(sPrint a report to stdout, listing the found modules with their paths, as well as modules that are missing, or seem to be missing. s %-25s %stNametFiles----tPRLs%-25sR3sMissing modules:t?s imported froms, s7Submodules thay appear to be missing, but could also bes#global names in the parent package:N(RR(s----s----(RR!RjtsorttkeyRLRRtany_missing_maybetmissingtmaybeRR"tmodstjoin(RRRRRjRRLR((R treports>      " cCs|i\}}||S(sReturn a list of modules that appear to be missing. Use any_missing_maybe() if you want to know which modules are certain to be missing, and which *may* be missing. N(RRRR(RRR((R t any_missingscCs.g}g}x|iD]}||ijoqn|id}|djo|i|qn||d}|| }|i i |}|dj oe||i|jo|i|q ||ijoq |io|i|q |i|q|i|qW|i|i||fS(sReturn two lists, one with modules that are certainly missing and one with modules that *may* be missing. The latter names could either be submodules *or* just global names in the package. The reason it can't always be determined is that it's impossible to tell which names are imported when "from module import *" is done with an extension module, short of actually importing it. RNiiN(RRRR"RR%RQR*RR_tpkgnameR!RtpkgRRRR(RRRRR*RR_R((R Rs4        cCstii|i}}x@|iD]5\}}|i |o||t |}Pq#q#W|i of||ijoV||jo|idd||fn|idd|f|ii|nt|i}xOtt |D];}t||t|o|i||||    %  .cCs8dk} y#| itidd\}}Wn!| ij o}|GHdSnXd} d}g}g} x|D]\}}|djo| d} n|djo d}n|djo||i ti}n|djo d} n|djo| i|qoqoW|p d }n |d}ti} tii|| d<|| } | djo)d GHx!| D]} d Gt| GHqkWnt| | | }x|dD]t}|djo d}qn|o@|d d jo|i|d ddgq|i|q|i|qW|i||i|S(Nisdmp:qx:is-ds-ms-ps-qs-xshello.pyspath:s is.*RY(tgetoptR targvtoptsR,RfR/R#tdomodstaddpathtexcludetotaR>R=tpathsepRtscriptRtdirnametitemR.RtmfR-RCRRBR2R(RRRR-R,RR/RRRRR#RRR((R ttest#s^ #                  R4s [interrupt](sSetcBsDtZdZdZdddZdZdZdZRS(NcOs>h|_h|_d|_t|_ti|||dS(N( Rt _depgrapht_typesRt _last_callertsett_scriptstBaseRR,tkw(RR,R((R Rws     cCs$|ii|ti||dS(N(RRtaddR5RR2(RR5((R R2~scCs=|i}z#||_ti||||SWd||_XdS(N(RRtold_last_callerRDRRCRRE(RRRDRER((R RCs   cCs_ti||||}|dj o6|io,|i i |ii t i |i n|S(N(RRURtpartnamRlRGRRRRt setdefaultRRR(RRRlRGR((R RUs,c CsX|\}}}ti|||||||f}|dj o||i |i py2exe cross reference for %sis&

py2exe cross reference for %s

s#%sR4s=%s s
imports:sH%s
imports:s;%s %s
imports:s9%s %s
imports:s%s s
s imported by:siR,(,tdepgrapht importedbyRRtitemsRtvalueRtneedsRRRRRjReRttempfiletmkstemptfdthtmlfileR6tofiR=RpR RR9R:RvRtfnameturllibt pathname2urlRtabspathR!RtTYPESRiR*t startfilet threadingtTimertremove(RReRRRRRRRRR*RRRiR((R t create_xrefsb $     ""           ( RRRR2RRCRUR<R(((R Rvs     s(builtin module)sextension moduletIMP_HOOKspackage directorytPY_CODERESOURCEscompiled python modules frozen modulet PY_RESOURCEs python modulet SEARCH_ERROR((t__doc__RR9R}R=R RRR^t __stdout__R7t modulefinderRR R RRRRRRtKeyboardInterruptRRRt NameErrortsetstSetRRt C_EXTENSIONRRvRR{t PY_FROZENRR:RR(RR R7RRRRRR9RRRRR RRRR R=R}R((R RsB             ;    c