Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 Aøªjã"ã @snddlZddlZyeWnek r0eZYnXdd„Zdd„Zdd„Zdd „Zd d „Z d d „Z dd„Z dS)éNcCsddlm}||ƒ‚dS)Nr)ÚDistutilsSetupError)Zdistutils.errorsr)Úmsgr©rú3/tmp/pip-build-_d5lkt3n/cffi/cffi/setuptools_ext.pyÚerror s rc Cs@t|ƒ�}|jƒ}WdQRX|d7}t||dƒ}t|||ƒdS)NÚ Úexec)ÚopenÚreadÚcompiler)ÚfilenameÚglobÚfÚsrcÚcoderrrÚexecfiles   rc Cs ddlm}t|tƒs*tdt|ƒjfƒt|ƒ}y|jdƒ\}}Wn"t k rftd|fƒYnXt j j |ƒs¶d}|j ddƒd }t j j |ƒr¦d |d|f}td ||fƒd |d œ}t||ƒy ||}Wn$tk rútd||fƒYnXt||ƒ�s|ƒ}t||ƒ�s0td|t|ƒjfƒt|dƒ�sJtd|fƒ|j\} } } } |j�rr| jƒ} |j| ƒ| dk�rŠt||| ƒnt||| | | | ƒdS)Nr)ÚFFIzEargument to 'cffi_modules=...' must be a str or a list of str, not %rú:z3%r must be of the form 'path/build.py:ffi_variable'ÚÚ.ú/z.pyz (rewrite cffi_modules to [%r])z#%r does not name an existing file%sZ__cffi__)Ú__name__Ú__file__z!%r: object %r not found in modulez"%r is not an FFI instance (got %r)Ú_assigned_sourcez*%r: the set_source() method was not called)Zcffi.apirÚ isinstanceÚ basestringrÚtyperÚstrÚsplitÚ ValueErrorÚosÚpathÚexistsÚreplacerÚKeyErrorÚhasattrrZ_windows_unicodeÚcopyZ_apply_windows_unicodeÚ_add_py_moduleÚ _add_c_module) ÚdistÚmod_specrZbuild_file_nameZ ffi_var_nameÚextZ rewrittenZmod_varsÚffiÚ module_nameÚsourceÚsource_extensionÚkwdsrrrÚadd_cffi_modulesL            r1c Csxddlm}d|krtttdƒ rt|jrtddl}y(t|jjdƒdƒ}|dkrTd|d<Wnt k rrd|d<YnX|S) a7 Add py_limited_api to kwds if setuptools >= 26 is in use. Do not alter the setting if it already exists. Setuptools takes care of ignoring the flag on Python 2 and PyPy. CPython itself should ignore the flag in a debugging version (by not listing .abi3.so in the extensions it supports), but it doesn't so far, creating troubles. That's why we check for "not hasattr(sys, 'gettotalrefcount')" (the 2.7 compatible equivalent of 'd' not in sys.abiflags). (http://bugs.python.org/issue28401) On Windows, with CPython <= 3.4, it's better not to use py_limited_api because virtualenv *still* doesn't copy PYTHON3.DLL on these versions. Recently (2020) we started shipping only >= 3.5 wheels, though. So we'll give it another try and set py_limited_api on Windows >= 3.5. r)Ú recompilerÚpy_limited_apiÚgettotalrefcountNréT) Úcffir2r%ÚsysZUSE_LIMITED_APIÚ setuptoolsÚintÚ __version__Ú partitionr)Ú Extensionr0r2r8Zsetuptools_major_versionrrrÚ_set_py_limited_apiIs  r=c sÞddlm}ddlm}ddlm‰ddlm‰ddlm ‰dg}|j |j dgƒƒt ||ƒ}|fˆ|d œ|—މd‡‡‡‡‡‡‡‡ fd d „ ‰|j dkržg|_ |j jˆƒ|jjd |ƒ‰G‡‡‡fd d„dˆƒ} | |jd <dS)Nr)r<)Ú build_ext)Úmkpath)Úlog)r2z $PLACEHOLDERÚsources)ÚnamerAcs\tjj|ˆˆƒ}ˆjd|ƒˆ|ƒ|dk r:|ˆˆƒˆjˆˆˆ|ƒ}|sXˆjdƒ|S)Nzgenerating cffi module %rzalready up-to-date)r r!ÚjoinÚinfoZ make_c_source)ZtmpdirÚpre_runZc_fileÚupdated)r+r,r@r?r-r2r.r/rrÚmake_modws  z_add_c_module..make_modr>cseZdZ‡‡‡fdd„ZdS)z)_add_c_module..build_ext_make_modcs:ˆjddkr,t|ddƒ}ˆ|j|ƒˆjd<ˆj|ƒdS)Nrz $PLACEHOLDERrE)rAÚgetattrÚ build_tempÚrun)ÚselfrE)Ú base_classr+rGrrrJŒs z-_add_c_module..build_ext_make_mod.runN)rÚ __module__Ú __qualname__rJr)rLr+rGrrÚbuild_ext_make_mod‹srO)N)Údistutils.corer<Úsetuptools.command.build_extr>Údistutils.dir_utilr?Ú distutilsr@r6r2ÚextendÚpopr=Ú ext_modulesÚappendÚcmdclassÚget) r)r,r-r.r/r0r<r>Z allsourcesrOr) rLr+r,r@rGr?r-r2r.r/rr(js         r(csÐddlm‰ddlm}ddlm}ddlm‰ddlm ‰‡‡‡‡‡fdd„‰|j j d |ƒ‰G‡‡‡fd d „d ˆƒ}||j d <|j dkr�g|_ |j j ˆƒ|j j d |ƒ‰G‡‡‡fd d„dˆƒ}||j d <dS)Nr)r?)Úbuild_py)r>)r@)r2cs>ˆjd|ƒˆtjj|ƒƒˆjˆˆ|ƒ}|s:ˆjdƒdS)Nzgenerating cffi module %rzalready up-to-date)rDr r!ÚdirnameZmake_py_source)Zpy_filerF)r,r@r?r-r2rrÚ generate_modŸs z$_add_py_module..generate_modrZcs*eZdZ‡‡‡fdd„Z‡‡fdd„ZdS)z)_add_py_module..build_py_make_modcs@ˆj|ƒˆjdƒ}|dd7<ˆtjj|jf|žŽƒdS)Nréz.pyéÿÿÿÿ)rJrr r!rCÚ build_lib)rKÚ module_path)rLr\r-rrrJ¨s  z-_add_py_module..build_py_make_mod.runc s6|j}z"|r ‡fdd„|Dƒ|_ˆj|ƒS||_XdS)Ncsg|]}|ˆkr|‘qSrr)Ú.0Úm)r-rrú ³szN_add_py_module..build_py_make_mod.get_source_files..)Ú py_modulesÚget_source_files)rKZsaved_py_modules)rLr-rrre­s  z:_add_py_module..build_py_make_mod.get_source_filesN)rrMrNrJrer)rLr\r-rrÚbuild_py_make_mod§srfr>cseZdZ‡‡‡fdd„ZdS)z*_add_py_module..build_ext_make_modcsbˆj|ƒ|jr^ˆjdƒ}dj|dd…ƒ}|jdƒ}|j|ƒ}|dd}ˆtjj||ƒƒdS)Nrr]rZz.pyr^r^)rJZinplacerrCÚget_finalized_commandZget_package_dirr r!)rKr`ÚpackagerZÚ package_dirÚ file_name)Ú base_class_2r\r-rrrJÉs     z._add_py_module..build_ext_make_mod.runN)rrMrNrJr)rkr\r-rrrOÈsrO)rRr?Zsetuptools.command.build_pyrZrQr>rSr@r6r2rXrYrdrW)r)r,r-rZr>rfrOr)rLrkr,r\r@r?r-r2rr'˜s        r'cCs8|dks t‚t|tƒr|g}x|D]}t||ƒq"WdS)NÚ cffi_modules)ÚAssertionErrorrrr1)r)ÚattrÚvalueZ cffi_modulerrrrlÕs    rl) r r7rÚ NameErrorrrrr1r=r(r'rlrrrrÚs  -!.=