3Wc@`sddlmZddlmZddlmZddlmZddlZddlZddlZddlm Z de fd YZ dS( i(tabsolute_import(tdivision(tprint_function(tunicode_literalsNi(textract_libtooltLibtoolImportercB`sJeZdZeddZdZedZedZRS(cC`s||_||_dS(N(tnametpath(tselfRR((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt__init__#s cC`s|jd}|jd}t|dkr[tjj|}tjj|d}nd}xHtjD]=}tjj|||}tjj|rk|||SqkWdS(Nu.u.laiu.libs(tsplittpoptlentosRtjointsystexists(tclsRt packagepathtmodpartstfilenamet modprefixRtfull((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt find_module'scC`sLt|j}ddtjf}tj|t|||}||_|S(Nuurb(RRtimpt C_EXTENSIONt load_moduletopent __loader__(RRtrealpathtsuffixtmod((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyR;s  cC`stjj|dS(N(Rt meta_pathtappend(R((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt __enter__HscC`stjj|dS(N(RR tremove(Rtexc_typetexc_valtexc_tb((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt__exit__LsN( t__name__t __module__R t classmethodtNoneRRR"R'(((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyR!s   ( t __future__RRRRRR RtutilsRtobjectR(((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyts