ctypes.macholib.dylib
index
/usr/local/lib/python2.5/ctypes/macholib/dylib.py
Module Docs

Generic dylib path manipulation

 
Modules
       
re

 
Functions
       
dylib_info(filename)
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.

 
Data
        __all__ = ['dylib_info']