Your IP : 3.135.247.24
�
c��f�v � �� � d Z ddlZddlZddlZddlZddlmZmZmZm Z m
Z
ddlmZm
Z
ddlmZ ddlmZ ddlZej Zej Zej Zej Zej ej ej ej fZej dk o
ej! dk Z"e"rd Z#d
Z$dZ%ndZ#d
Z$dZ%ddd�Z& G d� d� � Z' G d� d� � Z(d� Z)d� Z*d� Z+d� Z,dd�Z- e)� � Z.e.dk r ede.z � � � G d� de� � Z/dS ) a distutils.msvc9compiler
Contains MSVCCompiler, an implementation of the abstract CCompiler class
for the Microsoft Visual Studio 2008.
The module is compatible with VS 2005 and VS 2008. You can find legacy support
for older versions of VS in distutils.msvccompiler.
� N)�DistutilsExecError�DistutilsPlatformError�CompileError�LibError� LinkError)� CCompiler�gen_lib_options)�log)�get_platform�win32l z1Software\Wow6432Node\Microsoft\VisualStudio\%0.1fz5Software\Wow6432Node\Microsoft\Microsoft SDKs\Windowsz,Software\Wow6432Node\Microsoft\.NETFrameworkz%Software\Microsoft\VisualStudio\%0.1fz)Software\Microsoft\Microsoft SDKs\Windowsz Software\Microsoft\.NETFramework�x86�amd64�r z win-amd64c � � e Zd ZdZd� Z ee� � Zd� Z ee� � Zd� Z ee� � Zd� Z e e� � ZdS )�Regz2Helper class to read values from the registry
c � � t D ](}| � ||� � }|r||v r
|| c S �)t |� � ��N)�HKEYS�read_values�KeyError)�cls�path�key�base�ds �>/opt/alt/python311/lib64/python3.11/distutils/msvc9compiler.py� get_valuez
Reg.get_value? sN � �� � �D�����d�+�+�A��
�S�A�X�X���v�
�
�
���s�m�m�� c �� � t ||� � }n# t $ r Y dS w xY wg }d} t ||� � }n# t $ r Y nw xY w|� |� � |dz
}�=|S )zReturn list of registry keys.Nr T� )�RegOpenKeyEx�RegError�
RegEnumKey�append)r r r �handle�L�i�ks r � read_keysz
Reg.read_keysG s� � � �!�$��,�,�F�F��� � � ��4�4� ������
�� �
��v�q�)�)�����
�
�
���
����
�H�H�Q�K�K�K�
��F�A�
� �s � �
!�!�; �
A�Ac �, � t ||� � }n# t $ r Y dS w xY wi }d} t ||� � \ }}}n# t $ r Y nIw xY w|� � � }| � |� � || � |� � <