| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/python38/lib64/python3.8/distutils/__pycache__/ |
Upload File : |
U
i�fRN � @ s� d Z ddlZddlZddlZddlZddlZddlmZmZm Z m
Z
mZ ddlm
Z
mZ ddlmZ 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 tk
r> t�d� Y dS X d}d }| �� t� D ]�}zt � | |�\}}}W n tk
r� Y q�Y nX |rT|t j
krTtj�
|�rTztt|��}W n ttfk
r� Y qTY nX |dkrT||krT|| }}qTW 5 Q R X ||fS )Nz'Software\Microsoft\VisualStudio\SxS\VC7)�accesszVisual C++ is not registered�NNr � )�winregZ OpenKeyEx�HKEY_LOCAL_MACHINEZKEY_READZKEY_WOW64_32KEY�OSErrorr �debugr Z EnumValueZREG_SZ�os�path�isdir�int�float�
ValueError� TypeError)�key�best_version�best_dir�i�vZvc_dirZvt�version� r �</opt/alt/python38/lib64/python3.8/distutils/_msvccompiler.py�_find_vc2015 s2
�
r"