Hacked By AnonymousFox
a
R�f�[ � @ s~ d Z ddlZddlZddlmZmZmZmZmZ ddl m
Z
mZ ddlm
Z
dZz,ddlZdZeZejZejZejZejZW nd ey� z4ddlZddlZdZeZejZejZejZejZW n ey� e
�d� Y n0 Y n0 er�ejejejej fZ!d d
� Z"dd� Z#d
d� Z$G dd� d�Z%dd� Z&dd� Z'dd� Z(G dd� de
�Z)e&� dk�rze
�*d� e)Z+ddl,m)Z) ddl,m%Z% dS )z�distutils.msvccompiler
Contains MSVCCompiler, an implementation of the abstract CCompiler class
for the Microsoft Visual Studio.
� N)�DistutilsExecError�DistutilsPlatformError�CompileError�LibError� LinkError)� CCompiler�gen_lib_options)�logFTz�Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.c C sj zt | |�}W n ty" Y dS 0 g }d}zt||�}W n tyP Y qfY n0 |�|� |d7 }q,|S )zReturn list of registry keys.Nr � )�RegOpenKeyEx�RegError�
RegEnumKey�append)�base�key�handle�L�i�k� r �;/opt/alt/python39/lib64/python3.9/distutils/msvccompiler.py� read_keys7 s
r c C s~ zt | |�}W n ty" Y dS 0 i }d}zt||�\}}}W n tyV Y qzY n0 |�� }t|�|t|�<