⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
distutils
/
__pycache__
/
View File Name :
_msvccompiler.cpython-310.pyc
o bc'N @ s d Z ddlZddlZddlZddlmZmZmZmZm Z ddl mZmZ ddl mZ ddlmZ ddlmZ dd Zd d Zdd dddZdd Zdd ZdddZdddddZG dd deZdS )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)DistutilsExecErrorDistutilsPlatformErrorCompileErrorLibError LinkError) CCompilergen_lib_options)log)get_platform)countc C s zt jt jdt jt jB d} W n ty td 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 sw Y ||fS )Nz'Software\Microsoft\VisualStudio\SxS\VC7)accesszVisual C++ is not registeredNNr )winreg OpenKeyExHKEY_LOCAL_MACHINEKEY_READKEY_WOW64_32KEYOSErrorr debugr EnumValueREG_SZospathisdirintfloat ValueError TypeError)keybest_versionbest_dirivvc_dirvtversion r' ./usr/lib/python3.10/distutils/_msvccompiler.py_find_vc2015 sH r) c C s t jdpt jd} | sdS ztjt j| dddddd d ddd dg ddd }W n tjt t fy: Y dS w t j|ddd}t j|rNd|fS dS )aJ Returns "15, path" based on the result of invoking vswhere.exe If no install is found, returns "None, None" The version is returned to avoid unnecessarily changing the function result. It may be ignored when the path is not None. If vswhere.exe is not available, by definition, VS 2017 is not installed. zProgramFiles(x86)ProgramFilesr zMicrosoft Visual Studio Installerzvswhere.exez-latestz-prereleasez -requiresz1Microsoft.VisualStudio.Component.VC.Tools.x86.x64z -propertyinstallationPathz -products*mbcsstrict)encodingerrorsVC AuxiliaryBuild )r environget subprocesscheck_outputr joinstripCalledProcessErrorr UnicodeDecodeErrorr )rootr r' r' r( _find_vc20178 s. r? x86x64armarm64)r@ x86_amd64x86_arm x86_arm64c C s\ t \}}|st \}}|std dS tj|d}tj|s*td| dS |d fS )Nz$No suitable Visual C++ version foundr z vcvarsall.batz%s cannot be found)r? r) r r r r r: isfile) plat_spec_r! r vcvarsallr' r' r( _find_vcvarsall_ s rK c C s t drdd t j D S t| \}}|stdztjd|| tj dj ddd }W n tjyI } zt |j td |jd }~ww dd dd | D D }|S )NDISTUTILS_USE_SDKc S s i | ] \}}| |qS r' lower).0r valuer' r' r(
s s z_get_vc_env.
.
zUnable to find vcvarsall.batzcmd /u /c "{}" {} && set)stderrzutf-16lereplace)r1 zError executing {}c S s$ i | ]\}}}|r|r| |qS r' rM )rO r rI rP r' r' r( rQ s c s s | ]}| d V qdS )=N) partition)rO liner' r' r(