config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/ctypes/macholib/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/ctypes/macholib/dyld.pyc

³ò
h”Rc@sKdZddkZddklZddklZddkTdddd	gZeii	d
ƒddd
gZ
eii	dƒdddgZd„Zd„Z
dd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zddd„Zddd„Zd„Zed joeƒndS(!s
dyld emulation
iÿÿÿÿN(tframework_info(t
dylib_info(t*t	dyld_findtframework_findRRs~/Library/Frameworkss/Library/Frameworkss/Network/Library/Frameworkss/System/Library/Frameworkss~/libs/usr/local/libs/libs/usr/libcCs%t|tƒo|idƒSn|S(sCNot all of PyObjC and Python understand unicode paths very well yettutf8(t
isinstancetunicodetencode(ts((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytensure_utf8"scCsK|djo
ti}n|i|ƒ}|djogSn|idƒS(Nt:(tNonetostenvirontgettsplit(tenvtvartrval((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_env(s


cCs'|djo
ti}n|idƒS(NtDYLD_IMAGE_SUFFIX(RR
RR(R((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_image_suffix0s

cCs
t|dƒS(NtDYLD_FRAMEWORK_PATH(R(R((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_framework_path5scCs
t|dƒS(NtDYLD_LIBRARY_PATH(R(R((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_library_path8scCs
t|dƒS(NtDYLD_FALLBACK_FRAMEWORK_PATH(R(R((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_fallback_framework_path;scCs
t|dƒS(NtDYLD_FALLBACK_LIBRARY_PATH(R(R((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_fallback_library_path>scCs7t|ƒ}|djo|Sn||d„}|ƒS(s>For a potential path iterator, add DYLD_IMAGE_SUFFIX semanticscssOxH|D]@}|idƒo|tdƒ |dVn
||V|VqWdS(Ns.dylib(tendswithtlen(titeratortsuffixtpath((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pyt_injectFs	N(RR(R!RR"R$((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_image_suffix_searchAs

ccs‡t|ƒ}|dj	o3x0t|ƒD]}tii||dƒVq&Wnx4t|ƒD]&}tii|tii|ƒƒVqYWdS(Ntname(RRRR
R#tjoinRtbasename(R&Rt	frameworkR#((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_override_searchOs

 
ccsC|idƒo/|dj	o"tii||tdƒƒVndS(Ns@executable_path/(t
startswithRR
R#R'R (R&texecutable_path((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_executable_path_search`sccs|Vt|ƒ}|dj	o9t|ƒ}x*|D]}tii||dƒVq1Wnt|ƒ}x.|D]&}tii|tii|ƒƒVqjW|dj	o5|o-x*tD]}tii||dƒVq°Wn|p5x2t	D]&}tii|tii|ƒƒVqäWndS(NR&(
RRRR
R#R'RR(tDEFAULT_FRAMEWORK_FALLBACKtDEFAULT_LIBRARY_FALLBACK(R&RR)tfallback_framework_pathR#tfallback_library_path((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pytdyld_default_searchgs&
 $ cCsˆt|ƒ}t|ƒ}xYttt||ƒt||ƒt||ƒƒ|ƒD]!}tii|ƒo|SqOqOWt	d|f‚dS(s:
    Find a library or framework using dyld semantics
    sdylib %s could not be foundN(
R
R%tchainR*R-R2R
R#tisfilet
ValueError(R&R,RR#((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pyR}s	c
CsÇyt|d|d|ƒSWntj
o	}nX|idƒ}|djot|ƒ}|d7}ntii|tii|| ƒƒ}yt|d|d|ƒSWntj
o
|‚nXdS(s·
    Find a framework using dyld semantics in a very loose manner.

    Will take input such as:
        Python
        Python.framework
        Python.framework/Versions/Current
    R,Rs
.frameworkiÿÿÿÿN(RR5trfindR R
R#R'R((tfnR,Rtet
fmwk_index((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pyRŒs	
%cCs>h}tdƒdjpt‚tdƒdjpt‚dS(NslibSystem.dylibs/usr/lib/libSystem.dylibsSystem.framework/Systems2/System/Library/Frameworks/System.framework/System(RtAssertionError(R((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pyttest_dyld_find£st__main__(t__doc__R
R)RtdylibRt	itertoolst__all__R#t
expanduserR.R/R
RRRRRRRR%R*R-R2RRR;t__name__(((s0/usr/local/lib/python2.5/ctypes/macholib/dyld.pys<module>s<
					


Man Man