o
    h                  
   @   s:  d Z ddlZzddlZW n ey( Z zejdkredeW Y dZ[ndZ[ww [zWddlmZmZ ddl	m
Z
 ddlmZ ddlmZmZ dd	lmZ dd
lmZmZmZ ddlmZmZ ejdkr~zddlmZ W W [dS  ey}   dZY W [dS w W [dS  ey Z zejdkredeededZ[ww )ay  
Temporary shim module to indirect the bits of distutils we need from setuptools/distutils while providing useful
error messages beyond `No module named 'distutils' on Python >= 3.12, or when setuptools' vendored distutils is broken.

This is a compromise to avoid a hard-dep on setuptools for Python >= 3.12, since many users don't need runtime compilation support from CFFI.
    N)      zlThis CFFI feature requires setuptools on Python >= 3.12. The setuptools module is missing or non-functional.)log	sysconfig)	CCompiler)	build_ext)Distribution	Extension)mkpath)DistutilsSetupErrorCompileError	LinkError)set_thresholdset_verbositywin32)MSVCCompilerz_This CFFI feature requires setuptools on Python >= 3.12. Please install the setuptools package.zYThis CFFI feature requires distutils. Please install the distutils or setuptools package.)__doc__sys
setuptools	Exceptionexversion_info	distutilsr   r   distutils.ccompilerr   distutils.command.build_extr   distutils.corer   r	   distutils.dir_utilr
   distutils.errorsr   r   r   distutils.logr   r   platformdistutils.msvc9compilerr   ImportError r"   r"   Z/var/www/html/optinet_system/venv/lib/python3.10/site-packages/cffi/_shimmed_dist_utils.py<module>   sF    






