ó OŒÿUc@sZddlZddlZddlZddlZddlmZdefd„ƒYZdS(iÿÿÿÿNi(textract_libtooltLibtoolImportercBsJeZd„Zedd„ƒZd„Zed„ƒZed„ƒZRS(cCs||_||_dS(N(tnametpath(tselfRR((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt__init__s cCs°|jdƒ}|jƒd}t|ƒdkr[tjj|Œ}tjj|dƒ}nd}xHtjD]=}tjj|||ƒ}tjj|ƒrk|||ƒSqkWdS(Nt.s.lais.libs(tsplittpoptlentosRtjointsystexists(tclsRt packagepathtmodpartstfilenamet modprefixRtfull((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt find_module#scCst|jƒ}tjƒ}|dkr0d}n|dkrEd}nd}tj|t|ƒ||ddfƒ}||_|S(NtDarwins.dylibtWindowss.dlls.sotrbi(RRtplatformtsystemtimpt load_moduletopent __loader__(RRtrealpathtplatform_systemt extensiontmod((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyR7s     ' cCstjj|ƒdS(N(R t meta_pathtappend(R((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt __enter__FscCstjj|ƒdS(N(R R"tremove(Rtexc_typetexc_valtexc_tb((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyt__exit__JsN( t__name__t __module__Rt classmethodtNoneRRR$R)(((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyRs   (RR RR tutilsRtobjectR(((sy/home/vagrant/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyts