| Server IP : 188.114.97.3 / Your IP : 216.73.216.30 Web Server : LiteSpeed System : Linux vmi2710904 5.15.0-144-generic #157-Ubuntu SMP Mon Jun 16 07:33:10 UTC 2025 x86_64 User : rarch5794 ( 1006) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON 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'