| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/distutils/__pycache__/ |
Upload File : |
a
�i'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 0 d}d }| �� t� D ]�}zt � | |�\}}}W n ty� Y q�Y n0 |rR|t j
krRtj�
|�rRztt|��}W n ttfy� Y qRY n0 |dkrR||krR|| }}qRW d � n1 � s�0 Y ||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 �//usr/lib64/python3.9/distutils/_msvccompiler.py�_find_vc2015 s2
�
,r"