Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
ctypes
/
macholib
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/ctypes/macholib/dylib.pyc
mς σIFc @ sU d Z d k Z d g Z e i d Z d Z d Z e d j o e n d S( s! Generic dylib path manipulation Nt dylib_infos (?x) (?P<location>^.*)(?:^|/) (?P<name> (?P<shortname>\w+?) (?:\.(?P<version>[^._]+))? (?:_(?P<suffix>[^._]+))? \.dylib$ ) c C s( t i | } | p d Sn | i S( s1 A dylib name can take one of the following four forms: Location/Name.SomeVersion_Suffix.dylib Location/Name.SomeVersion.dylib Location/Name_Suffix.dylib Location/Name.dylib returns None if not found or a mapping equivalent to: dict( location='Location', name='Name.SomeVersion_Suffix.dylib', shortname='Name', version='SomeVersion', suffix='Suffix', ) Note that SomeVersion and Suffix are optional and may be None if not present. N( t DYLIB_REt matcht filenamet is_dylibt Nonet groupdict( R R ( ( t9 /usr/lib/python2.4/site-packages/ctypes/macholib/dylib.pyR s c C s d d d d d d } t d d j p t t d d j p t t d | d d d j p t t d | d d d d d j p t t d | d d d d j p t t d | d d d d j p t t d | d d d d d j p t d S( Nc C s% t d | d | d | d | d | S( Nt locationt namet shortnamet versiont suffix( t dictR R R R R ( R R R R R ( ( R t d1 s s completely/invalids completely/invalide_debugs P/Foo.dylibt Ps Foo.dylibt Foos P/Foo_debug.dylibs Foo_debug.dylibR t debugs P/Foo.A.dylibs Foo.A.dylibt As P/Foo_debug.A.dylibs Foo_debug.A.dylibt Foo_debugs P/Foo.A_debug.dylibs Foo.A_debug.dylib( R R R t AssertionError( R ( ( R t test_dylib_info0 s &,))t __main__( t __doc__t ret __all__t compileR R R t __name__( R R R R R ( ( R t ? s