U ,a$@s:ddlZdgZedZddZddZedkr6edS)N dylib_infoz(?x) (?P^.*)(?:^|/) (?P (?P\w+?) (?:\.(?P[^._]+))? (?:_(?P[^._]+))? \.dylib$ ) cCst|}|sdS|S)N)DYLIB_REmatch groupdict)filenameZis_dylibr:/opt/alt/python38/lib64/python3.8/ctypes/macholib/dylib.pyrs cCsddd}dS)NcSst|||||dS)NlocationnameZ shortnameversionsuffix)dictr rrrd.sztest_dylib_info..d)NNNNNr)rrrrtest_dylib_info-s r__main__)re__all__compilerrr__name__rrrrs