관리-도구
편집 파일: msvccompiler.cpython-38.pyc
U ���e�[ � @ s� d Z ddlZddlZddlmZmZmZmZmZ ddl m Z mZ ddlm Z dZz,ddlZdZeZejZejZejZejZW nh ek r� z4ddlZddlZdZeZejZejZejZejZW n ek r� e �d� Y nX Y nX 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�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_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 �P/opt/hc_python/lib/python3.8/site-packages/setuptools/_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|�<