ó 9£Wc@shddlZyeWnek r-eZnXd„Zd„Zd„Zd„Zd„Zd„Z dS(iÿÿÿÿNcCs ddlm}||ƒ‚dS(Niÿÿÿÿ(tDistutilsSetupError(tdistutils.errorsR(tmsgR((s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyterror scBsRe|ƒ}|jƒ}WdQX|d7}e||dƒ}|||fdUdS(Ns texec(topentreadtcompile(tfilenametglobtftsrctcode((s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pytexecfiles  c Cs/ddlm}t|tƒs<tdt|ƒjfƒnt|ƒ}y|jdƒ\}}Wn"t k r…td|fƒnXt j j |ƒsõd}|j ddƒd }t j j |ƒrÞd |d|f}ntd ||fƒnid d 6|d6}t||ƒy||}Wn%tk rKtd||fƒnXt||ƒsg|ƒ}nt||ƒs–td|t|ƒjfƒnt|dƒs¹td|fƒn|j\} } } } |jró| jƒ} |j| ƒn| dkrt||| ƒnt||| | | | ƒdS(Niÿÿÿÿ(tFFIsEargument to 'cffi_modules=...' must be a str or a list of str, not %rt:s3%r must be of the form 'path/build.py:ffi_variable'tt.t/s.pys (rewrite cffi_modules to [%r])s#%r does not name an existing file%st__cffi__t__name__t__file__s!%r: object %r not found in modules"%r is not an FFI instance (got %r)t_assigned_sources*%r: the set_source() method was not called(tcffi.apiRt isinstancet basestringRttypeRtstrtsplitt ValueErrortostpathtexiststreplaceR tKeyErrorthasattrRt_windows_unicodetcopyt_apply_windows_unicodetNonet_add_py_modulet _add_c_module( tdisttmod_specRtbuild_file_namet ffi_var_nametextt rewrittentmod_varstffit module_nametsourcetsource_extensiontkwds((s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pytadd_cffi_modulesL          c s$ddlm}ddlm}ddlm‰ddlm‰ddlm ‰dg}|j |j dgƒƒ|d ˆd||‰d‡‡‡‡‡‡‡‡ fd †‰|j dkrÌg|_ n|j jˆƒ|jjd |ƒ‰d ˆf‡‡‡fd †ƒY} | |jd t build_lib(RJt module_path(RKR]R2(s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRI…s (RRLRI((RKR]R2(s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyR^„sR8RFcseZ‡‡‡fd†ZRS(cs„ˆj|ƒ|jr€ˆjdƒ}dj|d ƒ}|jdƒ}|j|ƒ}|dd}ˆtjj||ƒƒndS(NRiÿÿÿÿRYs.py(RItinplaceRR>tget_finalized_commandtget_package_dirRR(RJR`tpackageRYt package_dirt file_name(t base_class_2R]R2(s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRIs  (RRLRI((RgR]R2(s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRFŽs( ROR9tdistutils.command.build_pyRYRNR8RPR:RQR;RVRW(R*R1R2RYR8R^RF((RKRgR1R]R:R9R2R;s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyR(us" " cCsO|dkst‚t|tƒr-|g}nx|D]}t||ƒq4WdS(Nt cffi_modules(tAssertionErrorRRR6(R*tattrtvaluet cffi_module((s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyRi›s   ( RRt NameErrorRRR R6R)R(Ri(((s9/usr/lib64/python2.7/site-packages/cffi/setuptools_ext.pyts     . , &