Your IP : 18.188.69.167
3
� f\ � @ s� d Z ddlZddlZddlmZmZmZmZmZ ddl m
Z
mZmZ ddl
mZ dZy,ddlZdZeZejZejZejZejZW nh ek
r� y4ddlZddlZdZeZejZejZejZejZW n ek
r� ejd� Y nX Y nX e�rejejej ej!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�r�ej+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_preprocess_options�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 sn yt | |�}W n tk
r" dS X g }d}x<yt||�}W n tk
rR P Y nX |j|� |d7 }q.W |S )zReturn list of registry keys.Nr � )�RegOpenKeyEx�RegError�
RegEnumKey�append)�base�key�handle�L�i�k� r �;/opt/alt/python36/lib64/python3.6/distutils/msvccompiler.py� read_keys7 s
r c C s� yt | |�}W n tk
r" dS X i }d}xPyt||�\}}}W n tk
rX P Y nX |j� }t|�|t|�<