Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3.10/distutils/__pycache__/ |
Upload File : |
o ��bc'N � @ s� d Z ddlZddlZddlZddlmZmZmZmZm Z ddl mZmZ ddl mZ ddlmZ ddlmZ dd � Zd d� Zdd ddd�Zdd� Zdd� Zddd�Zddddd�ZG dd� de�ZdS )a distutils._msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for Microsoft Visual Studio 2015. The module is compatible with VS 2015 and later. You can find legacy support for older versions in distutils.msvc9compiler and distutils.msvccompiler. � N)�DistutilsExecError�DistutilsPlatformError�CompileError�LibError� LinkError)� CCompiler�gen_lib_options)�log)�get_platform)�countc C s zt jt jdt jt jB d�} W n ty t�d� Y dS w d}d }| �_ t� D ]F}zt � | |�\}}}W n ty@ Y n:w |ro|t j krotj� |�roztt|��}W n ttfya Y q)w |dkro||kro||}}q)W d � ||fS W d � ||fS 1 s�w Y ||fS )Nz'Software\Microsoft\VisualStudio\SxS\VC7)�accesszVisual C++ is not registered�NNr � )�winreg� OpenKeyEx�HKEY_LOCAL_MACHINE�KEY_READ�KEY_WOW64_32KEY�OSErrorr �debugr � EnumValue�REG_SZ�os�path�isdir�int�float� ValueError� TypeError)�key�best_version�best_dir�i�v�vc_dir�vt�version� r'