|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/alt/python36/lib64/python3.6/distutils/__pycache__/ |
3 � fKT � @ s� d Z ddlZddlZddlZddlZddlZddlmZmZm Z m Z mZ ddlm Z mZ ddlmZ ddlmZ ddlmZ dd � Zd d� Zdd � Zdd� Zddd�Zddd�Zedg�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� yt jt jdt jt jB d�} W n tk r< tjd� dS X d}d }| �� x�t� D ]�}yt j | |�\}}}W n tk r� P Y nX |rT|t j krTtjj |�rTytt|��}W n ttfk r� wTY nX |dkrT||krT|| }}qTW W d Q R X ||fS )Nz'Software\Microsoft\VisualStudio\SxS\VC7)�accesszVisual C++ is not registeredr � )NN)�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�v�vc_dirZvt�version� r �</opt/alt/python36/lib64/python3.6/distutils/_msvccompiler.py�_find_vc2015 s0 r"