pWc@sddlZddlZdefdYZdefdYZdddd d gZdd Zd d Zd dZyddl m Z Wne k rdZ nXdZ ye efZddlZWn#ek re ZddlZnXdZdZdS(iNtVerificationErrorcBseZdZRS(s- An error raised when verification fails (t__name__t __module__t__doc__(((s6/usr/lib64/python2.7/site-packages/cffi/ffiplatform.pyRstVerificationMissingcBseZdZRS(sl An error raised when incomplete structures are passed into cdef, but no verification has been done (RRR(((s6/usr/lib64/python2.7/site-packages/cffi/ffiplatform.pyRstsourcest include_dirst library_dirst extra_objectstdependscKsYddlm}|g}x'|D]}|jtjj|q W|d|d||S(Ni(t ExtensiontnameR(tdistutils.coreR tappendtostpathtnormpath(t srcfilenametmodnameRtkwdsR t allsourcestsrc((s6/usr/lib64/python2.7/site-packages/cffi/ffiplatform.pyt get_extensions   icCstjj}z(t|||}tjj|}WdxB|jD]4\}}tjj||krG|tj|ddlm}ddl}ddl}|i|gd6}|j|jd}dtf|ds(