U
    ڲg                  
   @   s>  d Z ddlZzddlZW n6 ek
rN Z zejdkr>edeW 5 dZ[X Y nX [zd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rzddlmZ W n ek
r   dZY nX W nD ek
r6 Z z$ejdkredeedeW 5 dZ[X Y nX [dS )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   Zdistutils.command.build_extr   distutils.corer   r	   distutils.dir_utilr
   distutils.errorsr   r   r   Zdistutils.logr   r   platformZdistutils.msvc9compilerr   ImportError r   r   </tmp/pip-unpacked-wheel-lbi5ej3i/cffi/_shimmed_dist_utils.py<module>   s2   


