SILENT KILLERPanel

Current Path: > > opt > alt > python311 > lib64 > python3.11 > distutils > > > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python311/lib64/python3.11/distutils///__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-311.opt-1.pyc File 821 bytes June 23 2025 15:48:00.
__init__.cpython-311.opt-2.pyc File 638 bytes June 23 2025 15:48:05.
__init__.cpython-311.pyc File 821 bytes June 23 2025 15:48:00.
_msvccompiler.cpython-311.opt-1.pyc File 24261 bytes June 23 2025 15:48:03.
_msvccompiler.cpython-311.opt-2.pyc File 23124 bytes June 23 2025 15:48:05.
_msvccompiler.cpython-311.pyc File 24344 bytes June 23 2025 15:48:00.
archive_util.cpython-311.opt-1.pyc File 10664 bytes June 23 2025 15:48:00.
archive_util.cpython-311.opt-2.pyc File 8656 bytes June 23 2025 15:48:05.
archive_util.cpython-311.pyc File 10664 bytes June 23 2025 15:48:00.
bcppcompiler.cpython-311.opt-1.pyc File 13057 bytes June 23 2025 15:48:00.
bcppcompiler.cpython-311.opt-2.pyc File 12767 bytes June 23 2025 15:48:05.
bcppcompiler.cpython-311.pyc File 13057 bytes June 23 2025 15:48:00.
ccompiler.cpython-311.opt-1.pyc File 44356 bytes June 23 2025 15:48:03.
ccompiler.cpython-311.opt-2.pyc File 28284 bytes June 23 2025 15:48:05.
ccompiler.cpython-311.pyc File 44611 bytes June 23 2025 15:48:00.
cmd.cpython-311.opt-1.pyc File 18797 bytes June 23 2025 15:48:00.
cmd.cpython-311.opt-2.pyc File 13049 bytes June 23 2025 15:48:05.
cmd.cpython-311.pyc File 18797 bytes June 23 2025 15:48:00.
config.cpython-311.opt-1.pyc File 6383 bytes June 23 2025 15:48:00.
config.cpython-311.opt-2.pyc File 6022 bytes June 23 2025 15:48:05.
config.cpython-311.pyc File 6383 bytes June 23 2025 15:48:00.
core.cpython-311.opt-1.pyc File 9053 bytes June 23 2025 15:48:00.
core.cpython-311.opt-2.pyc File 5679 bytes June 23 2025 15:48:05.
core.cpython-311.pyc File 9053 bytes June 23 2025 15:48:00.
cygwinccompiler.cpython-311.opt-1.pyc File 14122 bytes June 23 2025 15:48:00.
cygwinccompiler.cpython-311.opt-2.pyc File 12537 bytes June 23 2025 15:48:05.
cygwinccompiler.cpython-311.pyc File 14122 bytes June 23 2025 15:48:00.
debug.cpython-311.opt-1.pyc File 292 bytes June 23 2025 15:48:00.
debug.cpython-311.opt-2.pyc File 292 bytes June 23 2025 15:48:00.
debug.cpython-311.pyc File 292 bytes June 23 2025 15:48:00.
dep_util.cpython-311.opt-1.pyc File 3967 bytes June 23 2025 15:48:00.
dep_util.cpython-311.opt-2.pyc File 2544 bytes June 23 2025 15:48:05.
dep_util.cpython-311.pyc File 3967 bytes June 23 2025 15:48:00.
dir_util.cpython-311.opt-1.pyc File 10034 bytes June 23 2025 15:48:00.
dir_util.cpython-311.opt-2.pyc File 7694 bytes June 23 2025 15:48:05.
dir_util.cpython-311.pyc File 10034 bytes June 23 2025 15:48:00.
dist.cpython-311.opt-1.pyc File 54744 bytes June 23 2025 15:48:00.
dist.cpython-311.opt-2.pyc File 45606 bytes June 23 2025 15:48:05.
dist.cpython-311.pyc File 54744 bytes June 23 2025 15:48:00.
errors.cpython-311.opt-1.pyc File 6755 bytes June 23 2025 15:48:00.
errors.cpython-311.opt-2.pyc File 4139 bytes June 23 2025 15:48:05.
errors.cpython-311.pyc File 6755 bytes June 23 2025 15:48:00.
extension.cpython-311.opt-1.pyc File 10155 bytes June 23 2025 15:48:00.
extension.cpython-311.opt-2.pyc File 6668 bytes June 23 2025 15:48:05.
extension.cpython-311.pyc File 10155 bytes June 23 2025 15:48:00.
fancy_getopt.cpython-311.opt-1.pyc File 16828 bytes June 23 2025 15:48:03.
fancy_getopt.cpython-311.opt-2.pyc File 14093 bytes June 23 2025 15:48:05.
fancy_getopt.cpython-311.pyc File 17109 bytes June 23 2025 15:48:00.
file_util.cpython-311.opt-1.pyc File 10376 bytes June 23 2025 15:48:00.
file_util.cpython-311.opt-2.pyc File 8265 bytes June 23 2025 15:48:05.
file_util.cpython-311.pyc File 10376 bytes June 23 2025 15:48:00.
filelist.cpython-311.opt-1.pyc File 15884 bytes June 23 2025 15:48:03.
filelist.cpython-311.opt-2.pyc File 13060 bytes June 23 2025 15:48:05.
filelist.cpython-311.pyc File 16171 bytes June 23 2025 15:48:00.
log.cpython-311.opt-1.pyc File 3900 bytes June 23 2025 15:48:00.
log.cpython-311.opt-2.pyc File 3840 bytes June 23 2025 15:48:05.
log.cpython-311.pyc File 3900 bytes June 23 2025 15:48:00.
msvc9compiler.cpython-311.opt-1.pyc File 33081 bytes June 23 2025 15:48:03.
msvc9compiler.cpython-311.opt-2.pyc File 31508 bytes June 23 2025 15:48:05.
msvc9compiler.cpython-311.pyc File 33164 bytes June 23 2025 15:48:00.
msvccompiler.cpython-311.opt-1.pyc File 26648 bytes June 23 2025 15:48:00.
msvccompiler.cpython-311.opt-2.pyc File 25128 bytes June 23 2025 15:48:05.
msvccompiler.cpython-311.pyc File 26648 bytes June 23 2025 15:48:00.
spawn.cpython-311.opt-1.pyc File 5609 bytes June 23 2025 15:48:00.
spawn.cpython-311.opt-2.pyc File 4489 bytes June 23 2025 15:48:05.
spawn.cpython-311.pyc File 5609 bytes June 23 2025 15:48:00.
sysconfig.cpython-311.opt-1.pyc File 12099 bytes June 23 2025 15:48:00.
sysconfig.cpython-311.opt-2.pyc File 10281 bytes June 23 2025 15:48:05.
sysconfig.cpython-311.pyc File 12099 bytes June 23 2025 15:48:00.
text_file.cpython-311.opt-1.pyc File 11506 bytes June 23 2025 15:48:00.
text_file.cpython-311.opt-2.pyc File 6453 bytes June 23 2025 15:48:05.
text_file.cpython-311.pyc File 11506 bytes June 23 2025 15:48:00.
unixccompiler.cpython-311.opt-1.pyc File 13261 bytes June 23 2025 15:48:00.
unixccompiler.cpython-311.opt-2.pyc File 12636 bytes June 23 2025 15:48:05.
unixccompiler.cpython-311.pyc File 13261 bytes June 23 2025 15:48:00.
util.cpython-311.opt-1.pyc File 24663 bytes June 23 2025 15:48:03.
util.cpython-311.opt-2.pyc File 18861 bytes June 23 2025 15:48:05.
util.cpython-311.pyc File 24677 bytes June 23 2025 15:48:00.
version.cpython-311.opt-1.pyc File 10348 bytes June 23 2025 15:48:03.
version.cpython-311.opt-2.pyc File 7059 bytes June 23 2025 15:48:05.
version.cpython-311.pyc File 10371 bytes June 23 2025 15:48:00.
versionpredicate.cpython-311.opt-1.pyc File 7221 bytes June 23 2025 15:48:00.
versionpredicate.cpython-311.opt-2.pyc File 4767 bytes June 23 2025 15:48:05.
versionpredicate.cpython-311.pyc File 7221 bytes June 23 2025 15:48:00.

Reading File: //opt/alt/python311/lib64/python3.11/distutils///__pycache__/msvc9compiler.cpython-311.pyc

�

!A?h�v����dZddlZddlZddlZddlZddlmZmZmZm	Z	m
Z
ddlmZm
Z
ddlmZddlmZddlZejZejZejZejZejejejejfZej dko
ej!dkZ"e"rd	Z#d
Z$dZ%ndZ#d
Z$dZ%ddd�Z&Gd�d��Z'Gd�d��Z(d�Z)d�Z*d�Z+d�Z,dd�Z-e)��Z.e.dkrede.z���Gd�de��Z/dS) adistutils.msvc9compiler

Contains MSVCCompiler, an implementation of the abstract CCompiler class
for the Microsoft Visual Studio 2008.

The module is compatible with VS 2005 and VS 2008. You can find legacy support
for older versions of VS in distutils.msvccompiler.
�N)�DistutilsExecError�DistutilsPlatformError�CompileError�LibError�	LinkError)�	CCompiler�gen_lib_options)�log)�get_platform�win32lz1Software\Wow6432Node\Microsoft\VisualStudio\%0.1fz5Software\Wow6432Node\Microsoft\Microsoft SDKs\Windowsz,Software\Wow6432Node\Microsoft\.NETFrameworkz%Software\Microsoft\VisualStudio\%0.1fz)Software\Microsoft\Microsoft SDKs\Windowsz Software\Microsoft\.NETFramework�x86�amd64�rz	win-amd64c��eZdZdZd�Zee��Zd�Zee��Zd�Zee��Zd�Ze	e��ZdS)�Regz2Helper class to read values from the registry
    c��tD](}|�||��}|r||vr
||cS�)t|����N)�HKEYS�read_values�KeyError)�cls�path�key�base�ds     �>/opt/alt/python311/lib64/python3.11/distutils/msvc9compiler.py�	get_valuez
Reg.get_value?sN���	�	�D�����d�+�+�A��
�S�A�X�X���v�
�
�
���s�m�m��c���	t||��}n#t$rYdSwxYwg}d}		t||��}n#t$rYnwxYw|�|��|dz
}�=|S)zReturn list of registry keys.NrT�)�RegOpenKeyEx�RegError�
RegEnumKey�append)rrr�handle�L�i�ks       r�	read_keysz
Reg.read_keysGs���	�!�$��,�,�F�F���	�	�	��4�4�	������
��	�
��v�q�)�)�����
�
�
���
����
�H�H�Q�K�K�K�
��F�A�
	��s��
!�!�;�
A�Ac�,�	t||��}n#t$rYdSwxYwi}d}		t||��\}}}n#t$rYnIwxYw|���}|�|��||�|��<|dz
}�k|S)z`Return dict of registry keys and values.

        All names are converted to lowercase.
        NrTr )r!r"�RegEnumValue�lower�convert_mbcs)	rrrr%rr'�name�value�types	         rrzReg.read_valuesYs���
	�!�$��,�,�F�F���	�	�	��4�4�	������
��	�
�$0���$;�$;�!��e�T�T���
�
�
���
�����:�:�<�<�D�(+�(8�(8��(?�(?�A�c���t�$�$�%�
��F�A�	��s��
!�!�?�
A�Ac�f�t|dd��}|�	|d��}n#t$rYnwxYw|S)N�decode�mbcs)�getattr�UnicodeError)�s�decs  rr-zReg.convert_mbcsosQ���a��4�(�(���?�
��C��K�K�����
�
�
���
�����s�!�
.�.N)
�__name__�
__module__�__qualname__�__doc__r�classmethodr)rr-�staticmethod�rrrr;s��������������I�&�&�I���� ��I�&�&�I����(�+�k�*�*�K���� �<��-�-�L�L�Lrrc�&�eZdZd�Zd�Zd�Zd�ZdS)�
MacroExpanderc�\�i|_t|z|_|�|��dSr)�macros�VS_BASE�vsbase�load_macros)�self�versions  r�__init__zMacroExpander.__init__{s/�������'�������!�!�!�!�!rc�R�t�||��|jd|z<dS)Nz$(%s))rrrB)rF�macrorrs    r�	set_macrozMacroExpander.set_macro�s&��'*�}�}�T�3�'?�'?���G�e�O�$�$�$rc��|�d|jdzd��|�d|jdzd��|�dtd��	|dkr|�d	td
��ntd
���n#t$rt	d���wxYw|dkr:|�d
|jd��|�dt
d��dSd}tD]d}	t||��}n#t$rY� wxYwt|d��}t�||�d|����}|d|jd<�edS)N�VCInstallDirz	\Setup\VC�
productdir�VSInstallDirz	\Setup\VS�FrameworkDir�installroot� @�FrameworkSDKDirzsdkinstallrootv2.0aPython was built with Visual Studio 2008;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2008 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.g"@�FrameworkVersionzclr version�
WindowsSdkDir�currentinstallfolderz.Software\Microsoft\NET Framework Setup\Productr�\rGz$(FrameworkVersion))
rKrD�NET_BASErr�WINSDK_BASErr!r"r#rrrB)rFrG�pr�hrrs       rrEzMacroExpander.load_macros�s������~�t�{�\�'A�<�P�P�P����~�t�{�\�'A�<�P�P�P����~�x��?�?�?�	M��#�~�~����0�(�3�5�5�5�5��3�4�4�4�5���	M�	M�	M�(�
L�M�M�
M�	M�����c�>�>��N�N�-�t�{�M�J�J�J��N�N�?�K�9O�P�P�P�P�P�A�A��
B�
B���$�T�1�-�-�A�A�������H����� ��A�&�&���M�M�$�A�A�A�s�s�(;�<�<��56�y�\���1�2�2�
B�
Bs�2B�B)�8D	�	
D�Dc�p�|j���D]\}}|�||��}�|Sr)rB�items�replace)rFr6r(�vs    r�subzMacroExpander.sub�s;���K�%�%�'�'�	 �	 �D�A�q��	�	�!�Q���A�A��rN)r8r9r:rHrKrEr`r>rrr@r@ysV������"�"�"�
@�@�@�B�B�B�>����rr@c�v�d}tj�|��}|dkrdS|t|��z}tj|d��dd��\}}t|dd���dz
}|dkr|dz
}t|d	d
���dz}|dkrd}|dkr||zSdS)
z�Return the version of MSVC that was used to build Python.

    For Python 2.3 and up, the version number is included in
    sys.version.  For earlier versions, assume the compiler is MSVC 6.
    zMSC v.����N� r ����
��g$@r)�sysrG�find�len�split�int)�prefixr'r6�rest�majorVersion�minorVersions      r�get_build_versionrr�s����F������ � �A��B�w�w��q�	�C��K�K��A��k�!�"�"�o�#�#�C��+�+�G�A�t��q��"��v�;�;��?�L��r��������q��1��v�;�;��%�L��q������q����l�*�*��4rc��g}|D]:}tj�|��}||vr|�|���;|S)znReturn a list of normalized paths with duplicates removed.

    The current order of paths is maintained.
    )�osr�normpathr$)�paths�
reduced_pathsrZ�nps    r�normalize_and_reduce_pathsry�sS���M�
�%�%��
�W�
�
�a�
 �
 ��
�]�"�"�� � ��$�$�$���rc���|�tj��}g}|D]}||vr|�|���tj�|��}|S)z8Remove duplicate values of an environment variable.
    )rlrt�pathsepr$�join)�variable�oldList�newListr'�newVariables     r�removeDuplicatesr��sb���n�n�R�Z�(�(�G��G�
�����G����N�N�1������*�/�/�'�*�*�K��rc��t|z}	t�d|zd��}n&#t$rt	jd��d}YnwxYw|rtj�|��s�d|z}tj	�
|d��}|r�tj�|��r�tj�|tjtjd��}tj�
|��}tj�|��st	jd|z��dSnt	jd|z��|st	jd	��dStj�|d
��}tj�|��r|St	jd��dS)z�Find the vcvarsall.bat file

    At first it tries to find the productdir of VS 2008 in the registry. If
    that fails it falls back to the VS90COMNTOOLS env var.
    z%s\Setup\VCrNz%Unable to find productdir in registryNzVS%0.f0COMNTOOLS�VCz%s is not a valid directoryz Env var %s is not set or invalidzNo productdir foundz
vcvarsall.bat�Unable to find vcvarsall.bat)rCrrrr
�debugrtr�isdir�environ�getr|�pardir�abspath�isfile)rGrDrN�toolskey�toolsdir�	vcvarsalls      r�find_vcvarsallr��s����w�
�F���]�]�>�F�#:�#/�1�1�
�
�������	�9�:�:�:��
�
�
������E�R�W�]�]�:�6�6�E�%��/���:�>�>�(�D�1�1���	E���
�
�h�/�/�	E�����h��	�2�9�d�K�K�J������4�4�J��7�=�=��,�,�
��	�7�*�D�E�E�E��t�
�
�I�8�8�C�D�D�D����	�'�(�(�(��t�����Z��9�9�I�	�w�~�~�i� � �����I�,�-�-�-��4s�+� A�
Ac��t|��}hd�}i}|�td���tjd||��t	jd|�d|�d�tjtj���}	|���\}}|���d	kr"t|�	d
�����|�	d
��}|�
d��D]�}t�|��}d|vr�!|�
��}|�
dd
��\}	}
|	���}	|	|vr;|
�t j��r
|
dd�}
t%|
��||	<��	|j���|j���n7#|j���|j���wxYwt-|��t-|��kr;t/t1t3|����������|S)zDLaunch vcvarsall.bat and read the settings from its environment
    >�libr�include�libpathNr�z'Calling 'vcvarsall.bat %s' (version=%s)�"z" z & set)�stdout�stderrrr3�
�=r rb)r�rr
r��
subprocess�Popen�PIPE�communicate�waitr2rlrr-�stripr,�endswithrtr{r�r��closer�rk�
ValueError�str�list�keys)rG�archr��interesting�result�popenr�r��linerr/s           r�query_vcvarsallr��s(���w�'�'�I�7�7�7�K�
�F���$�%C�D�D�D��I�7��w�G�G�G����	�	�	�4�4�4�@�$.�O�$.�O�
5�
5�
5�E���*�*�,�,�����:�:�<�<�1���(����v�)>�)>�?�?�?����v�&�&���L�L��&�&�
	6�
	6�D��#�#�D�)�)�D��$�����:�:�<�<�D����C��+�+�J�C���)�)�+�+�C��k�!�!��>�>�"�*�-�-�'�!�#�2�#�J�E�.�u�5�5��s���
	6�	�������
���������	�������
�����������
�6�{�{�c�+�&�&�&�&���T�&�+�+�-�-�0�0�1�1�2�2�2��Ms
�0DG�4G5rRz(VC %0.1f is not supported by this modulec���eZdZdZdZiZdgZgd�ZdgZdgZ	eezeze	zZ
dZdZd	Z
d
ZdxZZdZdd�Zdd�Z		d d�Z		d!d�Z			d"d�Z										d#d�Zd�Zd�Zd�Zd�Zd�Zd�Zd$d�Zd�ZdS)%�MSVCCompilerzwConcrete class that implements an interface to Microsoft Visual C++,
       as defined by the CCompiler abstract class.�msvcz.c)z.ccz.cppz.cxx�.rcz.mcz.resz.objz.libz.dllz%s%sz.exerc��tj||||��t|_d|_g|_d|_d|_d|_dS)NzSoftware\Microsoft\VisualStudioF)	rrH�VERSION�_MSVCCompiler__version�_MSVCCompiler__root�_MSVCCompiler__paths�	plat_name�_MSVCCompiler__arch�initialized)rF�verbose�dry_run�forces    rrHzMSVCCompiler.__init__HsJ����D�'�7�E�:�:�:� ���8������������ ����rNc���|jr
Jd���|�t��}d}||vrtd|�����dtjvrHdtjvr:|�d��r%d|_d|_d|_d	|_	d
|_
�nj|t��ks|dkrt|}n*tt��dzt|z}tt|��}|d
�tj��|_|dtjd<|dtjd<t#|j��dkrtd|jz���|�d��|_|�d��|_|�d��|_|�d	��|_	|�d
��|_
	tjd
�d��D]}|j�|���n#t($rYnwxYwt+|j��|_d�|j��tjd
<d|_|jdkrgd�|_gd�|_ngd�|_gd�|_gd�|_|jdkr	gd�|_dg|_d|_dS)Nzdon't init multiple timesrz--plat-name must be one of �DISTUTILS_USE_SDK�MSSdkzcl.exezlink.exezlib.exezrc.exezmc.exer�_rr�r�rzxPython was built with %s, and extensions need to be built with the same version of the compiler, but it isn't installed.�;r
)�/nologo�/Ox�/MD�/W3�/DNDEBUG)r��/Od�/MDdr��/Z7�/D_DEBUG)r�r�r�r��/GS-r�)r�r�r�r�r�r�r�)�/DLLr�z/INCREMENTAL:NO�)r�r�z/INCREMENTAL:noz/DEBUGr�T)r�rrrtr��find_exe�cc�linkerr��rc�mc�PLAT_TO_VCVARSr�r�rlr{r�rk�_MSVCCompiler__productr$rryr|�preprocess_optionsr��compile_options�compile_options_debug�ldflags_sharedr��ldflags_shared_debug�ldflags_static)rFr��ok_plats�	plat_spec�vc_envrZs      r�
initializezMSVCCompiler.initializeSs"���#�@�@�%@�@�@�#���$���I�'���H�$�$�(�(�*2�(�*5�6�6�
6��"�*�,�,��B�J�1F�1F�4�=�=�Ya�Kb�Kb�1F��D�G�$�D�K� �D�H��D�G��D�G�G��L�N�N�*�*�i�7�.B�.B�*�9�5�	�	�+�<�>�>�:�S�@�*�9�5�6�	�%�W�i�8�8�F�!�&�>�/�/��
�;�;�D�L� &�u�
�B�J�u��$*�9�$5�B�J�y�!��4�<� � �A�%�%�,�.J���.(�)�)�)�
�m�m�H�-�-�D�G��-�-�
�3�3�D�K��}�}�Y�/�/�D�H��m�m�H�-�-�D�G��m�m�H�-�-�D�G�
	��Z��'�-�-�c�2�2�
'�
'����#�#�A�&�&�&�&�
'���	�	�	��D�	����1�$�,�?�?��� �X�X�d�l�3�3��
�6��"&����;�%���$1�$1�$1�D� �*=�*=�*=�D�&�&�$1�$1�$1�D� �*=�*=�*=�D�&�E�D�D����>�Q���)�)�)�D�%�!*�l�������s�;AH>�>
I�
I�c��|�d}g}|D�]s}tj�|��\}}tj�|��d}|tj�|��d�}||jvrt
d|z���|rtj�|��}||jvr<|�	tj�
|||jz������||jvr=|�	tj�
|||jz������8|�	tj�
|||j
z������u|S)Nr�r zDon't know how to compile %s)rtr�splitext�
splitdrive�isabs�src_extensionsr�basename�_rc_extensionsr$r|�
res_extension�_mc_extensions�
obj_extension)rF�source_filenames�	strip_dir�
output_dir�	obj_names�src_namer�exts        r�object_filenameszMSVCCompiler.object_filenames�s�����B�z��	�(�	L�	L�H��'�*�*�H�5�5�K�T�3��7�%�%�d�+�+�A�.�D����
�
�d�+�+�,�,�-�D��$�-�-�-�#�$B�X�$M�N�N�N��
/��w�'�'��.�.���d�)�)�)�� � �"�'�,�,�
�04�t�7I�0I�#K�#K�L�L�L�L���+�+�+�� � �"�'�,�,�
�04�t�7I�0I�#K�#K�L�L�L�L�� � �"�'�,�,�
�04�t�7I�0I�#K�#K�L�L�L�L��rc	��|js|���|�||||||��}	|	\}}
}}}|pg}
|
�d��|r|
�|j��n|
�|j��|
D�];}	||\}}n#t$rY�wxYw|rtj	�
|��}||jvrd|z}�n�||jvrd|z}�n�||j
vrQ|}d|z}	|�|jg|z|gz|gz��n!#t $r}t#|���d}~wwxYw��||jv�rtj	�|��}tj	�|��}	|�|jgd|d|gz|gz��tj	�tj	�|����\}}tj	�||dz��}|�|jgd|zgz|gz��n!#t $r}t#|���d}~wwxYw���t#d|�d	|�����d
|z}	|�|jg|
z|z||gz|z����#t $r}t#|���d}~wwxYw|
S)Nz/cz/Tcz/Tpz/foz-hz-rr�zDon't know how to compile z to z/Fo)r�r��_setup_compiler$�extendr�r�rrtrr��
_c_extensions�_cpp_extensionsr��spawnr�rrr��dirnamer�r�r�r|r�)rF�sourcesr�rB�include_dirsr��
extra_preargs�extra_postargs�depends�compile_info�objects�pp_opts�build�compile_opts�obj�srcr��	input_opt�
output_opt�msg�h_dir�rc_dirrr��rc_files                         r�compilezMSVCCompiler.compile�s�����	��O�O�����*�*�:�v�|�+2�G�^�M�M��:F�7�����%�$�*������T�"�"�"��	6����� :�;�;�;�;����� 4�5�5�5��?	(�?	(�C�
� ��:���S�S���
�
�
���
�����
+��g�o�o�c�*�*���d�(�(�(�!�C�K�	�	���,�,�,�!�C�K�	�	���+�+�+��	�"�S�[�
�,��J�J���y�7�2� *�|� ,�/8�k� :�;�;�;�;��)�,�,�,�&�s�+�+�+�����,�������+�+�+������,�,�������-�-��,��J�J���y� $�e�T�6�:� ;�>A�U� C�D�D�D� �g�.�.���0@�0@�#�0F�0F�G�G�G�D�!� �g�l�l�F�D�5�L�A�A�G��J�J���y� %���}� -�07�y� 9�:�:�:�:��*�,�,�,�&�s�+�+�+�����,�����#�l�&)�c�c�3�3�$0�1�1�1����J�
(��
�
�D�G�9�|�3�g�=�%�z�2�3�)�*�+�+�+�+��&�
(�
(�
(�"�3�'�'�'�����
(�����s[�B � 
B-�,B-�&D)�)
E�3E�E�B.I�
I!�
I�I!�)J,�,
K
�6K�K
c��|js|���|�||��\}}|�||���}|�||��rN|d|zgz}|r		|�|jg|z��dS#t$r}t|���d}~wwxYwtj
d|��dS)N)r��/OUT:�skipping %s (up-to-date))r�r��_fix_object_args�library_filename�
_need_linkr�r�rrr
r�)	rFr��output_libnamer�r��target_lang�output_filename�lib_argsrs	         r�create_static_libzMSVCCompiler.create_static_libs�����	��O�O���� $� 5� 5�g�z� J� J���*��/�/��;E�0�G�G���?�?�7�O�4�4�		C��'�O�";�!<�<�H��
��
$��
�
�D�H�:��0�1�1�1�1�1��%�
$�
$�
$��s�m�m�#�����
$����
�I�0�/�B�B�B�B�Bs�/B�
B-�B(�(B-c�"�|js|���|�||��\}}|�|||��}|\}}}|r%|�dt|��z��t
||||��}|� tj�	||��}|�
||���r6|tjkr"|	r|j
dd�}n!|jdd�}n|	r|j
}n|j}g}|pgD]}|�d|z���||z|z|zd|zgz}tj�|d��}|��tj�tj�|����\}}tj�	||�|����}|�d|z��|�|||��|
r|
|dd�<|r|�|��|�tj�|����	|�|jg|z��n!#t2$r}t5|���d}~wwxYw|�||��}|�K|\}}d|�d|��}	|�d	d
d||g��dS#t2$r}t5|���d}~wwxYwdSt9jd|��dS)
Nz5I don't know what to do with 'runtime_library_dirs': r z/EXPORT:r	rz/IMPLIB:z-outputresource:r�zmt.exez-nologoz	-manifestr
)r�r�r�
_fix_lib_args�warnr�r	rtrr|r
r�
EXECUTABLEr�r�r$r�r�r�r�manifest_setup_ldargsr��mkpathr�r�rr�manifest_get_embed_infor
r�)rF�target_descr�rr��	libraries�library_dirs�runtime_library_dirs�export_symbolsr�r�r��
build_tempr�
fixed_args�lib_opts�ldflags�export_opts�sym�ld_args�dll_name�dll_ext�implib_filer�mfinfo�
mffilename�mfid�out_args                            r�linkzMSVCCompiler.link5s�����	��O�O���� $� 5� 5�g�z� J� J���*��'�'�	�<�(<�>�>�
�:D�7��L�"6��	5��I�I�N��2�3�3�4�
5�
5�
5�#�4�#/�1E�#,�.�.���!� �g�l�l�:��G�G�O��?�?�7�O�4�4�=	C��i�2�2�2��6�"�7����;�G�G�"�1�!�"�"�5�G�G��2�"�7�G�G�"�1�G��K�&�,�"�
5�
5���"�"�:��#3�4�4�4�4���)�K�7���")�O�";�!<�=�G��������4�4�J��)�&(�g�&6�&6��G�$�$�_�5�5�'7�'7�#��7� �g�l�l���)�)�(�3�3�5�5�����
�[� 8�9�9�9��&�&��
�G�L�L�L��
,�+�������
/����~�.�.�.��K�K������8�8�9�9�9�
%��
�
�D�K�=�7�2�3�3�3�3��%�
%�
%�
%���n�n�$�����
%�����1�1�+�w�G�G�F��!�#)� �
�D�D�5D�_�_�d�d�K��)��J�J��)�[� *�G� 5�6�6�6�6�6��)�)�)�)�#�C�.�.�(�����)����
"�!�
�I�0�/�B�B�B�B�Bs0�I4�4
J�>J
�
J�;K�
K5�!K0�0K5c��tj�|tj�|��dz��}|�d|z��dS)Nz	.manifest�/MANIFESTFILE:)rtrr|r�r$)rFrrr%�
temp_manifests     rrz"MSVCCompiler.manifest_setup_ldargs�sV��������� � ��1�1�K�?�A�A�
�	���'�-�7�8�8�8�8�8rc���|D]5}|�d��r|�dd��d}n�6dS|tjkrd}nd}|�|��}|�dS||fS)Nr/�:r rg)�
startswithrlrr�_remove_visual_c_ref)rFrr%�argr0r+s      rrz$MSVCCompiler.manifest_get_embed_info�s���
�	�	�C��~�~�.�/�/�
� #�	�	�#�q� 1� 1�!� 4�
���
�
�4��)�.�.�.��D�D��D� �5�5�m�D�D�M�� ��4��d�"�"rc�z�	t|��}	|���}|���n#|���wxYwtjdtj��}tj|d|��}d}tj|d|��}tjdtj��}tj||���dSt|d��}	|�|��||���S#|���wxYw#t$rYdSwxYw)NzU<assemblyIdentity.*?name=("|')Microsoft\.VC\d{2}\.CRT("|').*?(/>|</assemblyIdentity>)r�z*<dependentAssembly>\s*</dependentAssembly>zI<assemblyIdentity.*?name=(?:"|')(.+?)(?:"|').*?(?:/>|</assemblyIdentity>)�w)
�open�readr��rer�DOTALLr`�search�write�OSError)rF�
manifest_file�
manifest_f�manifest_buf�patterns     rr4z!MSVCCompiler._remove_visual_c_ref�sR��$	��m�,�,�J�
#�)���0�0��� � �"�"�"�"��
� � �"�"�"�"�����j�D��	���G��6�'�2�|�<�<�L�C�G��6�'�2�|�<�<�L��j�5�68�i�A�A�G��y��,�/�/�7��t��m�S�1�1�J�
#�� � ��.�.�.�$�� � �"�"�"�"��
� � �"�"�"�"������	�	�	��D�D�	���sD�D,�;�D,�A�BD,�D,�(D�>D,�D)�)D,�,
D:�9D:c��d|zS)Nz	/LIBPATH:r>�rF�dirs  r�library_dir_optionzMSVCCompiler.library_dir_option�s
���S� � rc� �td���)Nz<don't know how to set runtime library search path for MSVC++)rrDs  r�runtime_library_dir_optionz'MSVCCompiler.runtime_library_dir_option�s��$�L�N�N�	Nrc�,�|�|��Sr)r)rFr�s  r�library_optionzMSVCCompiler.library_option�s���$�$�S�)�)�)rc���|r|dz|g}n|g}|D]_}|D]Z}tj�||�|����}tj�|��r|ccS�[�`dS)N�_d)rtrr|r�exists)rF�dirsr�r��	try_namesrEr.�libfiles        r�find_library_filezMSVCCompiler.find_library_file�s����	��t��S�)�I�I���I��	�	�C�!�
#�
#���'�,�,�s�D�,A�,A�4�,H�,H�I�I���7�>�>�'�*�*�#�"�N�N�N�N�N�#�
#��4rc���|jD]b}tj�tj�|��|��}tj�|��r|cS�ctjd�d��D]b}tj�tj�|��|��}tj�|��r|cS�c|S)a�Return path to an MSVC executable program.

        Tries to find the program in several places: first, one of the
        MSVC program search paths from the registry; next, the directories
        in the PATH environment variable.  If any of those work, return an
        absolute path that is known to exist.  If none of them work, just
        return the original program name, 'exe'.
        �Pathr�)r�rtrr|r�r�r�rl)rF�exerZ�fns    rr�zMSVCCompiler.find_exes�����	�	�A�����b�g�o�o�a�0�0�#�6�6�B��w�~�~�b�!�!�
��	�	�	�
���F�#�)�)�#�.�.�	�	�A�����b�g�o�o�a�0�0��5�5�B��w�~�~�b�!�!�
��	�	�	�
��
r)rrrr)rr�)NNNrNNN)NrN)
NNNNNrNNNN)r) r8r9r:r;�
compiler_type�executablesr�r�r�r�r�r�r��static_lib_extension�shared_lib_extension�static_lib_format�shared_lib_format�
exe_extensionrHr�r�rrr-rrr4rFrHrJrQr�r>rrr�r�*s�������6�6��M��K��F�M�-�-�-�O��W�N��W�N�$�o�5�$�%�'5�6�N��M��M�!��!��,2�2��)��M�	!�	!�	!�	!�Q �Q �Q �Q �n$%�$&�����@HI�AE�R�R�R�R�p&*� !�&*�C�C�C�C�:���"&� ��� ���]C�]C�]C�]C�~
9�
9�
9�#�#�#�0%�%�%�V!�!�!�N�N�N�*�*�*�����$����rr�)r
)0r;rtr�rir:�distutils.errorsrrrrr�distutils.ccompilerrr	�	distutilsr
�distutils.utilr�winreg�	OpenKeyExr!�EnumKeyr#�	EnumValuer+�errorr"�
HKEY_USERS�HKEY_CURRENT_USER�HKEY_LOCAL_MACHINE�HKEY_CLASSES_ROOTr�platform�maxsize�NATIVE_WIN64rCrYrXr�rr@rrryr�r�r�r�r�r>rr�<module>rmsk����
�	�	�	�����
�
�
�
�	�	�	�	�?�?�?�?�?�?�?�?�?�?�?�?�?�?�:�:�:�:�:�:�:�:�������'�'�'�'�'�'�
�
�
�
����
�^�
�����<��	�	�	�	!�	�	"�	�	!�	#��
���'�?�C�K�%�,?���
3�C�G�J�K�>�H�H�6�G�>�K�2�H������
<.�<.�<.�<.�<.�<.�<.�<.�|,�,�,�,�,�,�,�,�\���2���	�	�	�!�!�!�F&�&�&�&�R�
�
�
��
�S�=�=�
 �
 �!K�g�!U�
V�
V�V�j�j�j�j�j�9�j�j�j�j�jr

SILENT KILLER Tool