AlkantarClanX12
Current Path : /opt/alt/python38/lib64/python3.8/distutils/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/distutils/__pycache__/msvccompiler.cpython-38.opt-1.pyc |
U i�f\ � @ s� d Z ddlZddlZddlmZmZmZmZmZ ddl m Z mZmZ ddl mZ dZz,ddlZdZeZejZejZejZejZW nh ek r� z4ddlZddlZdZeZejZejZejZejZW n ek r� e�d� 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�e�+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 zt | |�}W n tk r$ Y dS X g }d}zt||�}W n tk rT Y qjY nX |�|� |d7 }q.|S )zReturn list of registry keys.Nr � )�RegOpenKeyEx�RegError� RegEnumKey�append)�base�key�handle�L�i�k� r �;/opt/alt/python38/lib64/python3.8/distutils/msvccompiler.py� read_keys7 s r c C s� zt | |�}W n tk r$ Y dS X i }d}zt||�\}}}W n tk rZ Y q~Y nX |�� }t|�|t|�<