Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/cffi/__pycache__/setuptools_ext.cpython-311.pyc



]j"bddlZddlZ	en
#e$reZYnwxYwdZdZdZdZdZ	dZ
dZdS)	Nc$ddlm}||)Nr)DistutilsSetupError)distutils.errorsr)msgrs  u/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib64/python3.11/site-packages/cffi/setuptools_ext.pyerrorr
s%444444

c
"
""ct|5}|}dddn#1swxYwY|dz
}t||d}t|||dS)N
exec)openreadcompiler)filenameglobfsrccodes     rexecfilers
h1ffhh4KC3&))DtTs155cDddlm}t|ts$t	dt|jt|}	|d\}}n"#t$rt	|dYnwxYwtj|sZd}|
ddd	z}tj|rd
|dz|zd}t	|d|d
|d}t||	||}n%#t$rt	|d|dYnwxYwt||s
|}t||s't	|dt|jdt!|dst	|d|j\}	}
}}|jr)|}|||
t+|||	dSt-|||	|
||dS)Nr)FFIzCargument to 'cffi_modules=...' must be a str or a list of str, not :z1 must be of the form 'path/build.py:ffi_variable'./.pyz (rewrite cffi_modules to [z])z does not name an existing file__cffi__)__name____file__z	: object z not found in modulez is not an FFI instance (got )_assigned_sourcez(: the set_source() method was not called)cffi.apir
isinstance
basestringrtyperstrsplit
ValueErrorospathexistsreplacerKeyErrorhasattrr!_windows_unicodecopy_apply_windows_unicode_add_py_module
_add_c_module)
distmod_specrbuild_file_nameffi_var_nameext	rewrittenmod_varsffimodule_namesourcesource_extensionkwdss
             radd_cffi_moduler@sh
++6
>>225	6	6	68}}H(0s(;(;%
xx					7>>/**N#++C55=	
7>>)$$	1	1C,...1C
LMMM&ODDH_h'''D|$DDD
XXX5A\\C	D	D	D	D	DDc3ceec3K
hhh6:3ii6H6H6HJ	K	K	K3*++J
hhhHIII252F/K)4
)yy{{""4(((
~tS+.....dCf6FMMMMMs$A))BBD##EEcddlm}d|vrottdsZ|jrSddl}	t
|jdd}|dkrd|d<n#t$rd|d<YnwxYw|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
recompilerpy_limited_apigettotalrefcountNrT)
cffirCr.sysUSE_LIMITED_API
setuptoolsint__version__	partitionr()	Extensionr?rCrJsetuptools_major_versions     r_set_py_limited_apirPIs" $$WS:L-M-M$*	%	*'*:+A+K+KC+P+PQR+S'T'T$'2--)-%&	*	*	*&*D!"""		*
Ks8A%%A76A7c	

ddlm}ddlm}ddlmddlmddlm	dg}|
|dgt||}|d|d	|dfd
	
|j
g|_
|j
|jd|
G

fdd
}	|	|jd<dS)Nr)rN	build_extmkpathlogrB$PLACEHOLDERsources)namerYctj|z}d|z|||	
|}|sd|SNzgenerating cffi module %rzalready up-to-date)r)r*joininfo
make_c_source)tmpdirpre_runc_fileupdatedr8r;rWrUr<rCr=r>s    rmake_modz_add_c_module.<locals>.make_modwsfk4D&DEE,v5666v
GC**3VVLL	+HH)***
r	rSceZdZfdZdS))_add_c_module.<locals>.build_ext_make_modcjddkr*t|dd}|j|jd<|dS)NrrXra)rYgetattr
build_temprun)selfra
base_classr8rds  rrjz-_add_c_module.<locals>.build_ext_make_mod.runsV{1~//!$	488!)$/7!C!CANN4     r	Nr
__module____qualname__rj)rlr8rdsrbuild_ext_make_modrfs8	!	!	!	!	!	!	!	!	!r	rp)N)distutils.corerNsetuptools.command.build_extrSdistutils.dir_utilrU	distutilsrWrGrCextendpoprPext_modulesappendcmdclassget)r4r;r<r=r>r?rNrS
allsourcesrprlr8rWrdrUrCs ````     @@@@@@rr3r3js((((((666666)))))) !Jdhhy"--...y$//D
)
Aj
A
AD
A
AC












C   "";	::J!!!!!!!!!Z!!!"4DM+r	c	
ddlmddlm}ddlm}ddlm
ddlm	
fd	|j
d|G	fd	d
}||j
d<|jg|_|j
|j
d|G	fdd
}||j
d<dS)NrrT)build_pyrRrVrBcd|ztj||}|sddSdSr\)r^r)r*dirnamemake_py_source)py_filercr;rWrUr<rCs  rgenerate_modz$_add_py_module.<locals>.generate_mods{,w6777rww''(((++CgFF	+HH)*****	+	+r	r~c*eZdZfdZfdZdS))_add_py_module.<locals>.build_py_make_modc|d}|dxxdz
cc<tjj|jg|RdS)Nrr)rjr'r)r*r]	build_lib)rkmodule_pathrlrr<s  rrjz-_add_py_module.<locals>.build_py_make_mod.runsjNN4   %++C00KOOOu$OOOLdnC{CCCDDDDDr	c|j}	|rfd|D|_|||_S#||_wxYw)Nc g|]
}|k|Srqrq).0mr<s  r
<listcomp>zN_add_py_module.<locals>.build_py_make_mod.get_source_files.<locals>.<listcomp>s-'>'>'>Q,-,<,<(),<,<,<r	)
py_modulesget_source_files)rksaved_py_modulesrlr<s  rrz:_add_py_module.<locals>.build_py_make_mod.get_source_filessr $
3#>'>'>'>'>2B'>'>'>DO!22488"2"22222s	);	AN)rrnrorjr)rlrr<srbuild_py_make_modrs]	E	E	E	E	E	E	E

	3
	3
	3
	3
	3
	3
	3
	3r	rrSceZdZfdZdS)*_add_py_module.<locals>.build_ext_make_modcd||jrd}d|dd}|d}||}|ddz}tj||dSdS)Nrrr~r)rjinplacer'r]get_finalized_commandget_package_dirr)r*)	rkrpackager~package_dir	file_namebase_class_2rr<s	      rrjz._add_py_module.<locals>.build_ext_make_mod.runsT"""|
C)//44((;ss#34455jAA&66w??'Oe3	RW\\+yAABBBBB
C
Cr	Nrm)rrr<srrprsA		C		C		C		C		C		C		C		C		Cr	rp)rtrUsetuptools.command.build_pyr~rsrSrurWrGrCrzr{rry)
r4r;r<r~rSrrprlrrrWrUrCs
 ``    @@@@@@rr2r2s))))))444444666666+++++++++"":x88J333333333J333"!2DM*O;'''=$$[)<<L
C
C
C
C
C
C
C
C
C\
C
C
C"4DM+r	cp|dksJt|tr|g}|D]}t||dS)Ncffi_modules)r#r$r@)r4attrvaluecffi_modules    rrrsX>!!!!%$$++k****++r	)r)rHr$	NameErrorr&rrr@rPr3r2rrqr	r<module>rs				



JJJJJ###



+N+N+NZB'4'4'4\;4;4;4z+++++s

Back to Directory File Manager