ok
Mini Shell
�
�܋f�����UdZddlmZddlZddlmZmZddlmZm Z m
Z
mZddlm
Z
ddlZddlZddlZddlZddlZddlmZddlmZesej��d krddlZdd
lmZnGd�d��Ze��Zd
ed<d�Zd�Zddddd�Zd�Zd�Z d�Z!d#d�Z"Gd�d��Z#Gd�d��Z$Gd�d ��Z%Gd!�d"��Z&dS)$a�
Improved support for Microsoft Visual C++ compilers.
Known supported compilers:
--------------------------
Microsoft Visual C++ 14.X:
Microsoft Visual C++ Build Tools 2015 (x86, x64, arm)
Microsoft Visual Studio Build Tools 2017 (x86, x64, arm, arm64)
Microsoft Visual Studio Build Tools 2019 (x86, x64, arm, arm64)
This may also support compilers shipped with compatible Visual Studio versions.
�)�annotationsN)�listdir�pathsep)�join�isfile�isdir�dirname)�CalledProcessError)�
TYPE_CHECKING)�unique_everseen�Windows)�environc��eZdZdZdZdZdZdS)�winregN)�__name__�
__module__�__qualname__�
HKEY_USERS�HKEY_CURRENT_USER�HKEY_LOCAL_MACHINE�HKEY_CLASSES_ROOT���F/opt/cloudlinux/venv/lib64/python3.11/site-packages/setuptools/msvc.pyrr#s'�������
� ��!�� ���rrzdict[str, str]rc�,� tjtjddtjtjz��}n#t
$rYdSwxYwd}d}|5t
j��D]�} tj||��\}}}n#t
$rYnkwxYw|rd|tj krTt|��rE tt|����}n#ttf$rY��wxYw|dkr
||kr||}}��ddd��n#1swxYwY||fS)�0Python 3.8 "distutils/_msvccompiler.py" backportz'Software\Microsoft\VisualStudio\SxS\VC7r�NNN�)r�OpenKeyr�KEY_READ�KEY_WOW64_32KEY�OSError� itertools�count� EnumValue�REG_SZr�int�float�
ValueError� TypeError)�key�best_version�best_dir�i�v�vc_dir�vt�versions r�_msvc14_find_vc2015r3,s�����n��%�6�
��O�f�4�4�
�
���������z�z������L��H� �=�=���"�"� =� =�A�
� &� 0��a� 8� 8�
��6�2�2���
�
�
����
�����
=�R�6�=�(�(�U�6�]�]�(��!�%��(�(�m�m�G�G��"�I�.�����H������b�=�=�W�|�%;�%;�-4�f�(�L��=�=�=�=�=�=�=�=�=�=�=����=�=�=�=���!�!si�8;�
A �A �D�)B�D�
B�
D�B�$D�6C�D�C'�$D�&C'�'D�D�Dc
��tjd��ptjd��}|sdSd}|D]�}tjtt
t��5tjt|ddd��dd d
|ddd
dg ���
dd������}t|ddd��}t|��rd|fcddd��cS ddd��n#1swxYwY��dS)a�Python 3.8 "distutils/_msvccompiler.py" backport
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.
�ProgramFiles(x86)�ProgramFilesr)z1Microsoft.VisualStudio.Component.VC.Tools.x86.x64z)Microsoft.VisualStudio.Workload.WDExpresszMicrosoft Visual Studio� Installerzvswhere.exez-latestz-prereleasez -requiresz -property�installationPathz -products�*�mbcs�strict)�encoding�errors�VC� Auxiliary�Build�N)
r�get�
contextlib�suppressr
r"�UnicodeDecodeError�
subprocess�check_outputr�decode�stripr)�root�suitable_components� component�paths r�_msvc14_find_vc2017rNJs~���;�*�+�+�J�w�{�>�/J�/J�D����z���
)� � � �
�
�!3�W�>P�
Q�
Q� � ��'���8�+�}�U�U��!����&���
)�
�
������9�9�����
� ��d�K��9�9�D��T�{�{�
��4�x�' � � � � � � � � � �$
�% � � � � � � � � � � ���� � � � ��*�:s�A9C-�-C1 �4C1 �x86�x64�arm�arm64)rO� x86_amd64�x86_arm� x86_arm64c���t��\}}d}|tvrt|}nd|vrdnd}|rYt|ddddd|d d
� � } ddl}|�|d�
��d}n#tt
tf$rd}YnwxYw|s&t��\}}|rt|d|dd
��}|sdSt|d��}t|��sdS|rt|��sd}||fS)rN�amd64rPrOz..�redist�MSVCz**zMicrosoft.VC14*.CRTzvcruntime140.dllrT)� recursive���zMicrosoft.VC140.CRTrz
vcvarsall.bat) rN�PLAT_SPEC_TO_RUNTIMEr�glob�ImportErrorr"�LookupErrorr3r) � plat_spec�_r-� vcruntime�vcruntime_plat�vcredistr]r,� vcvarsalls r�_msvc14_find_vcvarsallrf�sb��%�'�'�K�A�x��I��(�(�(�-�i�8���")�Y�"6�"6���E������������!��
�
�� ��K�K�K�� � �(�d� �;�;�B�?�I�I���W�k�2� � � ��I�I�I� ����� �!4�!6�!6���h�� �����%�"���I����z��X��/�/�I��)�����z���F�9�-�-��� ��i��s�
!A/�/B�
Bc�J�dtvrd�tj��D��St|��\}}|stj�d��� t
jd�||��tj ����
dd���}nO#tj$r=}tj�d �|j����|�d
}~wwxYwd�d�|�
��D��D��}|r||d
<|S)r�DISTUTILS_USE_SDKc�>�i|]\}}|���|��Sr��lower)�.0r+�values r�
<dictcomp>z&_msvc14_get_vc_env.<locals>.<dictcomp>�s&��E�E�E�z�s�E�� � ���U�E�E�ErzUnable to find vcvarsall.batzcmd /u /c "{}" {} && set)�stderrzutf-16le�replace)r=zError executing {}Nc�H�i|]\}}}|�|�
|���|�� Srrj)rlr+rarms rrnz&_msvc14_get_vc_env.<locals>.<dictcomp>�sH������C��E������ � ���U���rc3�@K�|]}|�d��V��dS)�=N)� partition)rl�lines r� <genexpr>z%_msvc14_get_vc_env.<locals>.<genexpr>�s.����O�O�d�d�n�n�S�1�1�O�O�O�O�O�Or�py_vcruntime_redist)r�itemsrf� distutilsr=�DistutilsPlatformErrorrFrG�format�STDOUTrHr
�cmd�
splitlines)r`rerb�out�exc�envs r�_msvc14_get_vc_envr��sL���g�%�%�E�E�W�]�_�_�E�E�E�E�1�)�<�<��I�y��V���5�5�6T�U�U�U���%�&�-�-�i��C�C��$�
�
�
��&��I�&�
.�
.� ����(������5�5� �'�'���0�0�
�
�� ���������
��O�O�c�n�n�>N�>N�O�O�O����C��/�%.��!�"��Js�A B%�%C1�48C,�,C1c�|� t|��S#tjj$r}t |d���d}~wwxYw)a*
Patched "distutils._msvccompiler._get_vc_env" for support extra
Microsoft Visual C++ 14.X compilers.
Set environment without use of "vcvarsall.bat".
Parameters
----------
plat_spec: str
Target architecture.
Return
------
dict
environment
�,@N)r�ryr=rz�_augment_exception)r`r�s r�msvc14_get_vc_envr��sM��&�!�)�,�,�,����2�����3��%�%�%�
��������s��;�6�;�c�z�|jd}d|���vsd|���vryd}|jdit����}d}|dkr7|����d��dkr|d z
}n%|d
z
}n|dkr|dz
}||d
zz
}n|dkr|dz
}|f|_dS)zl
Add details to the exception message to help guide the user
as to what action will resolve it.
rrezvisual cz;Microsoft Visual C++ {version:0.1f} or greater is required.z-www.microsoft.com/download/details.aspx?id=%d�"@�ia64r[z( Get it with "Microsoft Windows SDK 7.0"z% Get it from http://aka.ms/vcpython27�$@z* Get it with "Microsoft Windows SDK 7.1": iW r�zd Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/Nr)�argsrkr{�locals�find)r�r2�arch�message�tmpl�
msdownloads rr�r��s����h�q�k�G��g�m�m�o�o�%�%��w�}�}���)F�)F�L���$�+�)�)����)�)��D�
��c�>�>��z�z�|�|� � ��(�(�2�-�-��E�E���
�B�B���
��_�_��C�C�G��z�D�(�(�G�G�
��_�_��,�
�G��z�C�H�H�Hrc��eZdZdZejdd�����Zd�Ze d���Z
d�Zd�Zd
d �Z
d
d
�Zdd�ZdS)�PlatformInfoz�
Current and Target Architectures information.
Parameters
----------
arch: str
Target architecture.
�processor_architecturer�c�`�|����dd��|_dS)NrPrW)rkrpr�)�selfr�s r�__init__zPlatformInfo.__init__!s%���J�J�L�L�(�(���8�8�� � � rc�V�|j|j�d��dzd�S)zs
Return Target CPU architecture.
Return
------
str
Target CPU
ra�N)r�r��r�s r�
target_cpuzPlatformInfo.target_cpu$s*���y������,�,�q�0�2�2�3�3rc��|jdkS)z�
Return True if target CPU is x86 32 bits..
Return
------
bool
CPU is x86 32 bits
rO�r�r�s r�
target_is_x86zPlatformInfo.target_is_x860s����%�'�'rc��|jdkS)z�
Return True if current CPU is x86 32 bits..
Return
------
bool
CPU is x86 32 bits
rO��current_cpur�s r�current_is_x86zPlatformInfo.current_is_x86;s����5�(�(rFc�R�|jdkr|rdn|jdkr|rdn d|jzS)uk
Current platform specific subfolder.
Parameters
----------
hidex86: bool
return '' and not '' if architecture is x86.
x64: bool
return 'd' and not 'md64' if architecture is amd64.
Return
------
str
subfolder: ' arget', or '' (see hidex86 parameter)
rOr�rW�\x64�\%sr��r��hidex86rPs r�current_dirzPlatformInfo.current_dirFsJ��$� �E�)�)�g�)�
�B�� �G�+�+��+����$�*�*�
rc�R�|jdkr|rdn|jdkr|rdn d|jzS)ar
Target platform specific subfolder.
Parameters
----------
hidex86: bool
return '' and not '\x86' if architecture is x86.
x64: bool
return '\x64' and not '\amd64' if architecture is amd64.
Return
------
str
subfolder: '\current', or '' (see hidex86 parameter)
rOr�rWr�r�r�r�s r�
target_dirzPlatformInfo.target_dir^sG��$��5�(�(�W�(�
�B���7�*�*�s�*����$�/�)�
rc��|rdn|j}|j|krdn*|����dd|z��S)ap
Cross platform specific subfolder.
Parameters
----------
forcex86: bool
Use 'x86' as current architecture even if current architecture is
not x86.
Return
------
str
subfolder: '' if target architecture is current architecture,
'\current_target' if not.
rOr��\z\%s_)r�r�r�rp)r��forcex86�currents r� cross_dirzPlatformInfo.cross_dirvsR�� $�9�%�%��)9����'�)�)�
�B����"�"�*�*�4��7�1B�C�C�
rN)FF�F)rrr�__doc__rrBrkr�r��propertyr�r�r�r�r�r�rrrr�r�s����������'�+�6��;�;�A�A�C�C�K�9�9�9�� 4� 4��X� 4� (� (� (� )� )� )�
�
�
�
�0
�
�
�
�0
�
�
�
�
�
rr�c� �eZdZdZejejejejfZ d�Z
ed���Zed���Z
ed���Zed���Zed���Zed���Zed ���Zed
���Zed���Zdd
�Zd�ZdS)�RegistryInfoz�
Microsoft Visual Studio related registry information.
Parameters
----------
platform_info: PlatformInfo
"PlatformInfo" instance.
c��||_dS�N)�pi)r��
platform_infos rr�zRegistryInfo.__init__�s
������rc��dS)z�
Microsoft Visual Studio root registry key.
Return
------
str
Registry key
�VisualStudiorr�s r�visualstudiozRegistryInfo.visualstudio�s ���~rc�,�t|jd��S)z
Microsoft Visual Studio SxS registry key.
Return
------
str
Registry key
�SxS)rr�r�s r�sxszRegistryInfo.sxs�s���D�%�u�-�-�-rc�,�t|jd��S)z|
Microsoft Visual C++ VC7 registry key.
Return
------
str
Registry key
�VC7�rr�r�s r�vczRegistryInfo.vc�����D�H�e�$�$�$rc�,�t|jd��S)z
Microsoft Visual Studio VS7 registry key.
Return
------
str
Registry key
�VS7r�r�s r�vszRegistryInfo.vs�r�rc��dS)z�
Microsoft Visual C++ for Python registry key.
Return
------
str
Registry key
zDevDiv\VCForPythonrr�s r�
vc_for_pythonzRegistryInfo.vc_for_python�s
��%�$rc��dS)zq
Microsoft SDK registry key.
Return
------
str
Registry key
zMicrosoft SDKsrr�s r�
microsoft_sdkzRegistryInfo.microsoft_sdk�s
�� �rc�,�t|jd��S)z�
Microsoft Windows/Platform SDK registry key.
Return
------
str
Registry key
r
�rr�r�s r�windows_sdkzRegistryInfo.windows_sdk�s���D�&� �2�2�2rc�,�t|jd��S)z�
Microsoft .NET Framework SDK registry key.
Return
------
str
Registry key
�NETFXSDKr�r�s r� netfx_sdkzRegistryInfo.netfx_sdk�s���D�&�
�3�3�3rc��dS)z�
Microsoft Windows Kits Roots registry key.
Return
------
str
Registry key
zWindows Kits\Installed Rootsrr�s r�windows_kits_rootszRegistryInfo.windows_kits_rootss
��/�.rFc�d�|j���s|rdnd}td|d|��S)a
Return key in Microsoft software registry.
Parameters
----------
key: str
Registry key path where look.
x86: str
Force x86 software registry.
Return
------
str
Registry key
r��Wow6432Node�Software� Microsoft)r�r�r)r�r+rO�node64s r� microsoftzRegistryInfo.microsofts9�� �w�-�-�/�/�I�3�I���M���J���S�9�9�9rc ��tj}tj}tj}|j}|jD]�}d} ||||��d|��}nV#t$rI|j���s+ ||||d��d|��}n#t$rYY�gwxYwY�mYnwxYw tj ||��d|r||��cScS#t$rYnwxYw |r||����#|r||��wwxYwdS)a
Look for values in registry in Microsoft software registry.
Parameters
----------
key: str
Registry key path where look.
name: str
Value name to find.
Return
------
str
value
NrT)
rr r�CloseKeyr��HKEYSr"r�r��QueryValueEx) r�r+�name�key_read�openkey�closekey�ms�hkey�bkeys r�lookupzRegistryInfo.lookup!s��� �?���.���?��
�^���J� #� #�D��D�
��w�t�R�R��W�W�a��:�:�����
�
�
��w�-�-�/�/��!�&�w�t�R�R��T�]�]�A�x�H�H����"�!�!�!� ���!�����H� ��
����
#��*�4��6�6�q�9��#��H�T�N�N�N�N�N�N�#�#�#���
�
�
���
������#��H�T�N�N�N����#��H�T�N�N�N�N�#�����tsY�A�#B#�4B
�B#�
B�B#�B�B#�"B#�'C�
C!�C3� C!�!C3�3DNr�)rrrr�rrrrrr�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrr�r��sd�������� ��� ��!�� �
�E� � � �� � ��X� �� .� .��X� .�� %� %��X� %�� %� %��X� %�� %� %��X� %�� � ��X� �� 3� 3��X� 3�� 4� 4��X� 4�� /� /��X� /�:�:�:�:�&'�'�'�'�'rr�c��eZdZdZejdd��Zejdd��Zejde��Zdd�Z d�Z
d �Zd
�Ze
d���Zed���Zed
���Zd�Zd�Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Z d�Z!e
d d���Z"dS)!�
SystemInfoz�
Microsoft Windows and Visual Studio related system information.
Parameters
----------
registry_info: RegistryInfo
"RegistryInfo" instance.
vc_ver: float
Required Microsoft Visual C++ version.
�WinDirr�r6r5Nc��||_|jj|_|���|_|p|���x|_|_dSr�)�rir��find_programdata_vs_vers�known_vs_paths�_find_latest_available_vs_ver�vs_ver�vc_ver)r��
registry_infor�s rr�zSystemInfo.__init__]sM������'�*���"�;�;�=�=���%+�$R�d�.P�.P�.R�.R�R���d�k�k�krc��|���}|s&|jstj�d���t|��}|�|j��t|��dS)zm
Find the latest VC version
Return
------
float
version
z%No Microsoft Visual C++ version foundr[)�find_reg_vs_versr�ryr=rz�set�update�sorted)r��reg_vc_vers�vc_verss rr�z(SystemInfo._find_latest_available_vs_verfsz���+�+�-�-��� �t�2� ��"�9�9�7���
��k�"�"�����t�*�+�+�+��g���r�"�"rc
��|jj}|jj|jj|jjf}g}tj|jj|��D�]w\}} tj |||��dtj
��}n#t$rY�>wxYw|5tj|��\}}} t|��D]t}
tjt ��5t#tj||
��d��}||vr|�|��ddd��n#1swxYwY�ut|��D]n}
tjt ��5t#tj||
����}||vr|�|��ddd��n#1swxYwY�o ddd��n#1swxYwY��yt+|��S)z�
Find Microsoft Visual Studio versions available in registry.
Return
------
list of float
Versions
rN)r�r�r�r�r�r#�productr�rrr r"�QueryInfoKey�rangerCrDr)r(r%�append�EnumKeyr�)r�r��vckeys�vs_versr�r+r��subkeys�valuesrar.�vers rr�zSystemInfo.find_reg_vs_verszs����W�
���'�*�d�g�3�T�W�Z�@����"�*�4�7�=�&�A�A� 0� 0�I�D�#�
��~�d�B�B�s�G�G�Q���H�H�����
�
�
���
�����
0�
0�%+�%8��%>�%>�"�����v���0�0�A�#�,�Z�8�8�0�0�#�F�$4�T�1�$=�$=�a�$@�A�A���g�-�-�#�N�N�3�/�/�/�0�0�0�0�0�0�0�0�0�0�0����0�0�0�0���w���0�0�A�#�,�Z�8�8�0�0�#�F�N�4��$;�$;�<�<���g�-�-�#�N�N�3�/�/�/�0�0�0�0�0�0�0�0�0�0�0����0�0�0�0��0�
0�
0�
0�
0�
0�
0�
0�
0�
0�
0�
0����
0�
0�
0�
0���g���sn�*B�
B�B�AF=�AD& �F=�&D*
�*F=�-D*
�..F=�<F$ �F=�$F(
�(F=�+F(
�,F=�=G �G c��i}d} t|��}n#t$r|cYSwxYw|D]�} t||d��}t|dd���5}t j|��}ddd��n#1swxYwY|d}tt|d����|||�|d ��<��#ttf$rY��wxYw|S)
z�
Find Visual studio 2017+ versions from information in
"C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances".
Return
------
dict
float version as key, path as value.
z9C:\ProgramData\Microsoft\VisualStudio\Packages\_Instancesz
state.json�rtzutf-8)r<Nr8�
VC\Tools\MSVC�installationVersion)rr"r�open�json�load�_as_float_version�KeyError) r��vs_versions�
instances_dir�hashed_namesr��
state_path�
state_file�state�vs_paths rr�z#SystemInfo.find_programdata_vs_vers�sa����T�
� �"�=�1�1�L�L��� � � ����� ����!� � �D�
�!�-��|�D�D�
��*�d�W�=�=�=�2�� �I�j�1�1�E�2�2�2�2�2�2�2�2�2�2�2����2�2�2�2�� 2�3����W�&6�7�7�8�8�8���D�2�2�5�9N�3O�P�P�Q�Q���X�&�
�
�
���
�����sB��%�%�#C�A1�%C�1A5 �5C�8A5 �9AC�C�Cc�|�td�|�d��dd�����S)z�
Return a string version as a simplified float version (major.minor)
Parameters
----------
version: str
Version.
Return
------
float
version
�.N�)r(r�split)r2s rr
zSystemInfo._as_float_version�s3���S�X�X�g�m�m�C�0�0��!��4�5�5�6�6�6rc��t|jd|jz��}|j�|jjd|jz��p|S)zp
Microsoft Visual Studio directory.
Return
------
str
path
zMicrosoft Visual Studio %0.1f�%0.1f)r�ProgramFilesx86r�r�r�r�)r��defaults r�VSInstallDirzSystemInfo.VSInstallDir�sK���� �"A�D�K�"O�
�
��
�w�~�~�d�g�j�'�D�K�*?�@�@�K�G�Krc��|���p|���}t|��s!d}tj�|���|S)zm
Microsoft Visual C++ directory.
Return
------
str
path
z(Microsoft Visual C++ directory not found)� _guess_vc�_guess_vc_legacyrryr=rz)r�rM�msgs r�VCInstallDirzSystemInfo.VCInstallDir�sS���~�~���:�4�#8�#8�#:�#:���T�{�{� ?�<�C��"�9�9�#�>�>�>��rc�B�|jdkrdS |j|j}n#t$r
|j}YnwxYwt |d��} t|��d}|�|��|_t ||��S#ttf$rYdSwxYw)zl
Locate Visual C++ for VS2017+.
Return
------
str
path
r�r�rr[)
r�r�rrrrr
r�r"�
IndexError)r��vs_dir�guess_vcr�s rrzSystemInfo._guess_vc�s����;�$����2� '��(���5�F�F��� '� '� '��&�F�F�F� '������ 0�1�1�� ��X�&�&�r�*�F��0�0��8�8�D�K���&�)�)�)����$� � � ��2�2� ���s�"�6�6�
>B � B�Bc�<�t|jd|jz��}t|jjd|jz��}|j�|d��}|rt|d��n|}|j�|jjd|jz��p|S)z{
Locate Visual C++ for versions prior to 2017.
Return
------
str
path
z Microsoft Visual Studio %0.1f\VCr�
installdirr>)rrr�r�r�r�r�)r�r�reg_path� python_vc�
default_vcs rrzSystemInfo._guess_vc_legacys����� �"E���"S�
�
��
���-�w���/D�E�E���G�N�N�8�\�:�:� �.7�D�T�)�T�*�*�*�W�
��w�~�~�d�g�j�'�D�K�*?�@�@�N�J�Nrc��|jdkrdS|jdkrdS|jdkrdS|jdkrdS|jd krd
SdS)z�
Microsoft Windows SDK versions for specified MSVC++ version.
Return
------
tuple of str
versions
r�)z7.0z6.1z6.0ar�)z7.1z7.0a�&@)z8.0z8.0a�(@)�8.1z8.1ar�)z10.0r-N�r�r�s r�WindowsSdkVersionzSystemInfo.WindowsSdkVersion+sd���;�#���'�'�
�[�D�
�
� �=�
�[�D�
�
� �=�
�[�D�
�
� �=�
�[�D�
�
� �=��trc�R�|�t|jd����S)zt
Microsoft Windows SDK last version.
Return
------
str
version
�lib)�_use_last_dir_namer�
WindowsSdkDirr�s r�WindowsSdkLastVersionz SystemInfo.WindowsSdkLastVersionAs%���&�&�t�D�,>��'F�'F�G�G�Grc���d}|jD]>}t|jjd|z��}|j�|d��}|rn�?|rt|��sOt|jjd|jz��}|j�|d��}|rt|d��}|rt|��sR|jD]J}|d|�d���}d |z}t|j |��}t|��r|}�K|rt|��s5|jD]-}d
|z}t|j |��}t|��r|}�.|st|j
d��}|S)zn
Microsoft Windows SDK directory.
Return
------
str
path
r�zv%s�installationfolderrr&�WinSDKNrzMicrosoft SDKs\Windows Kits\%szMicrosoft SDKs\Windows\v%s�PlatformSDK)r/rr�r�r�rr�r��rfindr6r )r��sdkdirr�locrM�install_base�intver�ds rr3zSystemInfo.WindowsSdkDirMs������)� � �C��t�w�*�E�C�K�8�8�C��W�^�^�C�)=�>�>�F��
���
�� 6�U�6�]�]� 6����-�w���/D�E�E�D��7�>�>�$��=�=�L��
6��l�H�5�5��� �U�6�]�]� ��-�
�
���-�s�y�y��~�~�-�.��8�6�A����*�D�1�1����8�8���F��� �U�6�]�]� ��-�
�
��4�s�:����*�D�1�1����8�8���F��� <��$�+�]�;�;�F��
rc���|jdkrd}d}n-d}|jdkrdnd}|j�d|���}d ||�d
d��fz}g}|jdkr)|jD]!}|t|jj||��gz
}�"|jD]$}|t|jj d
|z|��gz
}�%|D]#}|j�
|d��}|r|cS�$dS)zy
Microsoft Windows SDK executable directory.
Return
------
str
path
r+�#r��(r,TF)rPr�zWinSDK-NetFx%dTools%sr��-r�zv%sAr6N)r�r�r�rp�NetFxSdkVersionrr�r�r/r�r�) r��netfxverr�r��fx�regpathsrrM�execpaths r�WindowsSDKExecutablePathz#SystemInfo.WindowsSDKExecutablePathxs0���;�$����H��D�D��H�"�k�T�1�1�d�d�u�G��7�&�&�4��&�A�A�D�
$��$�,�,�t�S�2I�2I�'J�
J�����;�$����+�
?�
?���T�$�'�"3�S�"�=�=�>�>����)� F� F�C���d�g�1�6�C�<��D�D�E�E�H�H�� � �D��w�~�~�d�,@�A�A�H��
�����
��trc��t|jjd|jz��}|j�|d��pdS)zl
Microsoft Visual F# directory.
Return
------
str
path
z%0.1f\Setup\F#�
productdirr�)rr�r�r�r�)r�rMs r�FSharpInstallDirzSystemInfo.FSharpInstallDir�s;���D�G�(�*;�d�k�*I�J�J���w�~�~�d�L�1�1�7�R�7rc��|jdkrdnd}|D]2}|j�|jjd|z��}|r|pdcS�3dS)zt
Microsoft Universal CRT SDK directory.
Return
------
str
path
r�)�10�81rz
kitsroot%sr�N)r�r�r�r�)r��versrr:s r�UniversalCRTSdkDirzSystemInfo.UniversalCRTSdkDir�sm�� $�{�d�2�2�|�|���� $� $�C��W�^�^�D�G�$>��s�@R�S�S�F��
$��|��#�#�#�
$��trc�R�|�t|jd����S)z�
Microsoft Universal C Runtime SDK last version.
Return
------
str
version
r1)r2rrPr�s r�UniversalCRTSdkLastVersionz%SystemInfo.UniversalCRTSdkLastVersion�s%���&�&�t�D�,C�U�'K�'K�L�L�Lrc� �|jdkrdndS)z�
Microsoft .NET Framework SDK versions.
Return
------
tuple of str
versions
r�) z4.7.2z4.7.1z4.7z4.6.2z4.6.1z4.6z4.5.2z4.5.1z4.5rr.r�s rrCzSystemInfo.NetFxSdkVersion�s"���{�d�"�"�
X�W��
rc��d}|jD];}t|jj|��}|j�|d��}|rn�<|S)zu
Microsoft .NET Framework SDK directory.
Return
------
str
path
r��kitsinstallationfolder)rCrr�r�r�)r�r:rr;s r�NetFxSdkDirzSystemInfo.NetFxSdkDir�s\�����'� � �C��t�w�(�#�.�.�C��W�^�^�C�)A�B�B�F��
���
��
rc�z�t|jd��}|j�|jjd��p|S)zw
Microsoft .NET Framework 32bit directory.
Return
------
str
path
zMicrosoft.NET\Framework�frameworkdir32�rr�r�r�r��r��guess_fws r�FrameworkDir32zSystemInfo.FrameworkDir32�s8�����%?�@�@���w�~�~�d�g�j�*:�;�;�G�x�Grc�z�t|jd��}|j�|jjd��p|S)zw
Microsoft .NET Framework 64bit directory.
Return
------
str
path
zMicrosoft.NET\Framework64�frameworkdir64rYrZs r�FrameworkDir64zSystemInfo.FrameworkDir64�s8�����%A�B�B���w�~�~�d�g�j�*:�;�;�G�x�Grc�,�|�d��S)z�
Microsoft .NET Framework 32bit versions.
Return
------
tuple of str
versions
� ��_find_dot_net_versionsr�s r�FrameworkVersion32zSystemInfo.FrameworkVersion32����*�*�2�.�.�.rc�,�|�d��S)z�
Microsoft .NET Framework 64bit versions.
Return
------
tuple of str
versions
�@rbr�s r�FrameworkVersion64zSystemInfo.FrameworkVersion64rerc�d�|j�|jjd|z��}t|d|z��}|p|�|d��pd}|jdkr|dfS|jdkr&|���dd �d
krdn|dfS|jd
krdS|jdkrdSdS)z�
Find Microsoft .NET Framework versions.
Parameters
----------
bits: int
Platform number of bits: 32 or 64.
Return
------
tuple of str
versions
zframeworkver%dzFrameworkDir%dr/r�r,zv4.0r�Nr�v4z
v4.0.30319�v3.5r�)rk�
v2.0.50727g @)zv3.0rl)r�r�r��getattrr2r�rk)r��bits�reg_ver�dot_net_dirrs rrcz!SystemInfo._find_dot_net_versions&s����'�.�.����-=��-D�E�E���d�$4�t�$;�<�<���H��0�0��c�B�B�H�b���;�$�����;��
�[�D�
�
�#&�9�9�;�;�r��r�?�d�#:�#:�<�<��V�K�K�
�[�C�
�
�'�'�
�[�C�
�
�'�'��trc�|�����fd�tt�����D��}t|d��pdS)a)
Return name of the last dir in path or '' if no dir found.
Parameters
----------
path: str
Use dirs in this path
prefix: str
Use only dirs starting by this prefix
Return
------
str
name
c3��K�|]8}tt�|�����|�����4|V��9dSr�)rr�
startswith)rl�dir_namerM�prefixs ��rrvz0SystemInfo._use_last_dir_name.<locals>.<genexpr>Usg�����
�
���T�$��)�)�*�*�
�08�/B�/B�6�/J�/J�
��
�
�
�
�
�
rNr�)�reversedr�next)rMru�
matching_dirss`` rr2zSystemInfo._use_last_dir_nameDsV����"
�
�
�
�
�$�W�T�]�]�3�3�
�
�
�
�
�M�4�(�(�.�B�.rr��r�)#rrrr�rrBr�r6rr�r�r�r��staticmethodr
r�rr rrr/r4r3rHrKrPrRrCrVr\r_rdrhrcr2rrrr�r�Ks������� � ��W�[��2�
&�
&�F��7�;�~�r�2�2�L�!�g�k�"5�|�D�D�O�S�S�S�S�#�#�#�(���>(�(�(�T�7�7��\�7� �L�L��X�L�"����X��"���<O�O�O�*����X��*� H� H��X� H��(�(��X�(�T�"�"��X�"�H�
8�
8��X�
8�����X��(� M� M��X� M��
�
��X�
� ����X��"�
H�
H��X�
H��
H�
H��X�
H�� /� /��X� /�� /� /��X� /����<�/�/�/��\�/�/�/rr�c�>�eZdZdZd!d�Zed���Zed���Zed���Zed���Z ed ���Z
ed
���Zed���Zed���Z
ed
���Zed���Zed���Zd�Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zed���Zd"d�Zd �Z dS)#�EnvironmentInfoaY
Return environment variables for specified Microsoft Visual C++ version
and platform : Lib, Include, Path and libpath.
This function is compatible with Microsoft Visual C++ 9.0 to 14.X.
Script created by analysing Microsoft environment configuration files like
"vcvars[...].bat", "SetEnv.Cmd", "vcbuildtools.bat", ...
Parameters
----------
arch: str
Target architecture.
vc_ver: float
Required Microsoft Visual C++ version. If not set, autodetect the last
version.
vc_min_ver: float
Minimum Microsoft Visual C++ version.
Nrc���t|��|_t|j��|_t |j|��|_|j|kr!d}tj� |���dS)Nz.No suitable Microsoft Visual C++ version found)
r�r�r�r�r��sir�ryr=rz)r�r�r��
vc_min_ver�errs rr�zEnvironmentInfo.__init__usf���t�$�$����t�w�'�'����T�W�f�-�-����;��#�#�B�C��"�9�9�#�>�>�>�$�#rc��|jjS)zk
Microsoft Visual Studio.
Return
------
float
version
)r~r�r�s rr�zEnvironmentInfo.vs_ver~����w�~�rc��|jjS)zp
Microsoft Visual C++ version.
Return
------
float
version
)r~r�r�s rr�zEnvironmentInfo.vc_ver�r�rc���ddg}�jdkr1�j�dd���}|dgz
}|dgz
}|d|zgz
}�fd �|D��S)
zu
Microsoft Visual Studio Tools.
Return
------
list of str
paths
zCommon7\IDEz
Common7\Toolsr�T�r�rPz1Common7\IDE\CommonExtensions\Microsoft\TestWindowzTeam Tools\Performance ToolszTeam Tools\Performance Tools%sc�D��g|]}t�jj|����Sr�rr~r�rlrMr�s �r�
<listcomp>z+EnvironmentInfo.VSTools.<locals>.<listcomp>��(���C�C�C�T��T�W�)�4�0�0�C�C�Cr)r�r�r�)r��paths�arch_subdirs` r�VSToolszEnvironmentInfo.VSTools�s���� �!1�2���;�$����'�-�-�d��-�E�E�K��J�K�K�E��5�6�6�E��7�+�E�F�F�E�C�C�C�C�U�C�C�C�Crc�j�t|jjd��t|jjd��gS)z�
Microsoft Visual C++ & Microsoft Foundation Class Includes.
Return
------
list of str
paths
�IncludezATLMFC\Include�rr~r r�s r�
VCIncludeszEnvironmentInfo.VCIncludes�s3��
���%�y�1�1����%�'8�9�9�
�
rc�����jdkr�j�d���}n�j�d���}d|zd|zg}�jdkr |d|zgz
}�fd �|D��S)
z�
Microsoft Visual C++ & Microsoft Foundation Class Libraries.
Return
------
list of str
paths
�.@T�rP�r��Lib%szATLMFC\Lib%sr�zLib\store%sc�D��g|]}t�jj|����Srr�r�s �rr�z/EnvironmentInfo.VCLibraries.<locals>.<listcomp>�r�r)r�r�r�)r�r�r�s` r�VCLibrarieszEnvironmentInfo.VCLibraries�s�����;�$����'�,�,��,�6�6�K�K��'�,�,�T�,�:�:�K��;�&��+�(E�F���;�$����n�{�2�3�3�E�C�C�C�C�U�C�C�C�Crc�R�|jdkrgSt|jjd��gS)z�
Microsoft Visual C++ store references Libraries.
Return
------
list of str
paths
r�zLib\store\references)r�rr~r r�s r�VCStoreRefszEnvironmentInfo.VCStoreRefs�s/���;�����I��T�W�)�+B�C�C�D�Drc���|j}t|jd��g}|jdkrdnd}|j�|��}|r|t|jd|z��gz
}|jdkr8d|j�d���z}|t|j|��gz
}n�|jdkr�|j���rd nd
}|t|j||j�d���z��gz
}|jj |jj
kr5|t|j||j�d���z��gz
}n|t|jd��gz
}|S)
zr
Microsoft Visual C++ Tools.
Return
------
list of str
paths
�
VCPackagesr�TF�Bin%sr�r�r�z
bin\HostX86%sz
bin\HostX64%sr��Bin)r~rr r�r�r�r�r�r�r�r�)r�r~�toolsr�r�rM�host_dirs r�VCToolszEnvironmentInfo.VCTools�s����W���b�o�|�4�4�5���;�$�.�.�4�4�E���g�'�'��1�1��� D��d�2�?�G�k�,A�B�B�C�C�E��;�$����T�W�0�0��0�>�>�>�D��d�2�?�D�1�1�2�2�E�E�
�[�D�
�
�$(�G�$:�$:�$<�$<�R� � �BR�
�
�d�2�?�H�t�w�7I�7I�d�7I�7S�7S�,S�T�T�U�U�E��w�"�d�g�&8�8�8�����(�T�W�5H�5H�T�5H�5R�5R�*R�S�S�����
�d�2�?�E�2�2�3�3�E��rc�0�|jdkr:|j�dd���}t|jjd|z��gS|j�d���}t|jjd��}|j}t||�d|����gS)zw
Microsoft Windows SDK Libraries.
Return
------
list of str
paths
r�Tr�r�r�r1�um)r�r�r�rr~r3�_sdk_subdir)r�r�r1�libvers r�OSLibrarieszEnvironmentInfo.OSLibrariess����;�$����'�,�,�T�t�,�D�D�K����.��+�0E�F�F�G�G��'�,�,��,�6�6�K��t�w�,�e�4�4�C��%�F���&�&�&�+�+�>�?�?�@�@rc�
�t|jjd��}|jdkr|t|d��gS|jdkr|j}nd}t|d|z��t|d|z��t|d|z��gS) zu
Microsoft Windows SDK Include.
Return
------
list of str
paths
�includer��glr�r�z%ssharedz%sumz%swinrt)rr~r3r�r�)r�r��sdkvers r�
OSIncludeszEnvironmentInfo.OSIncludess����t�w�,�i�8�8���;�$����T�'�4�0�0�1�1��{�d�"�"��)������W�j�6�1�2�2��W�f�v�o�.�.��W�i�&�0�1�1��
rc��t|jjd��}g}|jdkr
||jz
}|jdkr|t|d��gz
}|jdkru||t|jjd��t|dd��t|d d��t|d
d��t|jjddd
|jzddd��gz
}|S)z}
Microsoft Windows SDK Libraries Paths.
Return
------
list of str
paths
�
Referencesr�r+zCommonConfiguration\Neutralr��
UnionMetadataz'Windows.Foundation.UniversalApiContractz1.0.0.0z%Windows.Foundation.FoundationContractz,Windows.Networking.Connectivity.WwanContract�
ExtensionSDKszMicrosoft.VCLibsr�CommonConfiguration�neutral)rr~r3r�r�)r��ref�libpaths r� OSLibpathzEnvironmentInfo.OSLibpath0s����4�7�(�,�7�7�����;�#����t�'�'�G��;�$�����S�"@�A�A�B�B�G��;�$������T�W�*�O�<�<��S�C�Y�O�O��S�A�9�M�M��S�H�)�T�T���G�)�#�&��d�k�)� �)����
�
�G� �rc�D�t|�����S)zs
Microsoft Windows SDK Tools.
Return
------
list of str
paths
)�list�
_sdk_toolsr�s r�SdkToolszEnvironmentInfo.SdkToolsVs���D�O�O�%�%�&�&�&rc#��K�|jdkr+|jdkrdnd}t|jj|��V�|j���s<|j�d���}d|z}t|jj|��V�|jdvrZ|j���rd }n|j�dd�
��}d|z}t|jj|��V�nb|jdkrWt|jjd��}|j�d���}|jj}t||�|����V�|jj r|jj V�dSdS)
z�
Microsoft Windows SDK Tools paths generator.
Return
------
generator of str
paths
r�r+r�zBin\x86Tr�r�)r�r+r�r�zBin\NETFX 4.0 Tools%sN)
r�rr~r3r�r�r�r�r4rH)r��bin_dirr�rMr�s rr�zEnvironmentInfo._sdk_toolsbs������;����#�{�d�2�2�e�e�
�G��t�w�,�g�6�6�6�6�6��w�%�%�'�'� 4��'�-�-�$�-�7�7�K��[�(�D��t�w�,�d�3�3�3�3�3��;�,�&�&��w�$�$�&�&�
J� ���"�g�1�1�$�D�1�I�I��+�k�9�D��t�w�,�d�3�3�3�3�3�3�
�[�D�
�
����-�u�5�5�D��'�-�-�$�-�7�7�K��W�2�F��t�v�v�{�{�;�<�<�<�<�<��7�+� 3��'�2�2�2�2�2�2� 3� 3rc�,�|jj}|rd|zndS)zu
Microsoft Windows SDK version subdir.
Return
------
str
subdir
�%s\r�)r~r4�r��ucrtvers rr�zEnvironmentInfo._sdk_subdir�s#���'�/��%,�4��� � �"�4rc�R�|jdkrgSt|jjd��gS)zs
Microsoft Windows SDK Setup.
Return
------
list of str
paths
r��Setup)r�rr~r3r�s r�SdkSetupzEnvironmentInfo.SdkSetup�s.���;�����I��T�W�*�G�4�4�5�5rc�t��|j}|j�|jdkr-d}|���o|���}n>|���p|���}|jdkp
|jdk}g}|r|�fd��jD��z
}|r|�fd��jD��z
}|S)zv
Microsoft .NET Framework Tools.
Return
------
list of str
paths
r�TrWc�:��g|]}t�j|����Sr)rr\�rlrr~s �rr�z+EnvironmentInfo.FxTools.<locals>.<listcomp>��&���T�T�T�s�d�2�,�c�2�2�T�T�Trc�:��g|]}t�j|����Sr)rr_r�s �rr�z+EnvironmentInfo.FxTools.<locals>.<listcomp>�r�r) r�r~r�r�r�r�r�rdrh)r�r�� include32� include64r�r~s @r�FxToolszEnvironmentInfo.FxTools�s�����W��
�W���;�$����I��,�,�.�.�.�J�r�7H�7H�7J�7J�3J�I�I��(�(�*�*�A�b�.?�.?�.A�.A�I���'�1�M�R�]�g�5M�I���� U��T�T�T�T�b�>S�T�T�T�T�E�� U��T�T�T�T�b�>S�T�T�T�T�E��rc��|jdks|jjsgS|j�d���}t|jjd|z��gS)z~
Microsoft .Net Framework SDK Libraries.
Return
------
list of str
paths
r�Tr�zlib\um%s)r�r~rVr�r�r)r�r�s r�NetFxSDKLibrariesz!EnvironmentInfo.NetFxSDKLibraries�sU���;����T�W�%8���I��g�(�(�T�(�2�2���T�W�(�+��*C�D�D�E�Erc�j�|jdks|jjsgSt|jjd��gS)z}
Microsoft .Net Framework SDK Includes.
Return
------
list of str
paths
r�z
include\um)r�r~rVrr�s r�NetFxSDKIncludesz EnvironmentInfo.NetFxSDKIncludes�s8���;����T�W�%8���I��T�W�(�-�8�8�9�9rc�8�t|jjd��gS)z�
Microsoft Visual Studio Team System Database.
Return
------
list of str
paths
z
VSTSDB\Deployr�r�s r�VsTDbzEnvironmentInfo.VsTDb�s���T�W�)�+;�<�<�=�=rc��|jdkrgS|jdkr(|jj}|j�d���}n|jj}d}d|j|fz}t
||��g}|jdkr|t
||d��gz
}|S)zn
Microsoft Build Engine.
Return
------
list of str
paths
r,r�Tr�r�zMSBuild\%0.1f\bin%s�Roslyn)r�r~rr�r�rr)r�� base_pathr�rM�builds r�MSBuildzEnvironmentInfo.MSBuild�s����;�����I�
�[�4�
�
���/�I��'�-�-�d�-�;�;�K�K���,�I��K�%���k�(B�B���i��&�&�'���;�$����d�9�d�H�5�5�6�6�E��rc�R�|jdkrgSt|jjd��gS)zt
Microsoft HTML Help Workshop.
Return
------
list of str
paths
r+zHTML Help Workshop)r�rr~rr�s r�HTMLHelpWorkshopz EnvironmentInfo.HTMLHelpWorkshops/���;�����I��T�W�,�.B�C�C�D�Drc��|jdkrgS|j�d���}t|jjd��}|j}t||�d|����gS)z�
Microsoft Universal C Runtime SDK Libraries.
Return
------
list of str
paths
r�Tr�r1�ucrt)r�r�r�rr~rP�_ucrt_subdir)r�r�r1r�s r�
UCRTLibrarieszEnvironmentInfo.UCRTLibrariessh���;�����I��g�(�(�T�(�2�2���4�7�-�u�5�5���#���S������=�>�>�?�?rc��|jdkrgSt|jjd��}t|d|jz��gS)z�
Microsoft Universal C Runtime SDK Include.
Return
------
list of str
paths
r�r�z%sucrt)r�rr~rPr�)r�r�s r�UCRTIncludeszEnvironmentInfo.UCRTIncludes$sE���;�����I��t�w�1�9�=�=���W�h��):�:�;�;�<�<rc�,�|jj}|rd|zndS)z�
Microsoft Universal C Runtime SDK version subdir.
Return
------
str
subdir
r�r�)r~rRr�s rr�zEnvironmentInfo._ucrt_subdir4s#���'�4��%,�4��� � �"�4rc�J�d|jcxkrdkrnngS|jjgS)zk
Microsoft Visual F#.
Return
------
list of str
paths
r+r,)r�r~rKr�s r�FSharpzEnvironmentInfo.FSharpAs;���$�+�$�$�$�$��$�$�$�$�$��I���(�)�)rc�\�d|jz}|j�d����d��}g}|jj}t
|�dd����}t|��r8t|t|��d��}||t|d��gz
}|t|d ��gz
}d
|jdzzd
t|j��dzzf}tj||��D]*\}}t||||��} t| ��r| cS�+dS)
z
Microsoft Visual C++ runtime redistributable dll.
Return
------
str
path
zvcruntime%d0.dllTr�r�z\Toolsz\Redistr[�onecorerXzMicrosoft.VC%d.CRT�
N)r�r�r�rIr~r r rprrrr'r�r#r�r)
r�rbr��prefixes�
tools_path�redist_path�crt_dirsru�crt_dirrMs
r�VCRuntimeRedistzEnvironmentInfo.VCRuntimeRedistPsF��'���4� ��g�(�(�T�(�2�2�8�8��>�>�����W�)�
��j�0�0��J�G�G�H�H������ D��{�G�K�,@�,@��,D�E�E�K���d�;� �&B�&B�C�C�H��T�*�h�/�/�0�0��
!�D�K�"�$4�5� �C���$4�$4�r�$9�:�
�� )�0��8�D�D� � �O�F�G����W�i�@�@�D��d�|�|�
�����
��trTc�.�t|�d|j|j|j|jg|��|�d|j|j|j|j |j
g|��|�d|j|j|j|jg|��|�d|j
|j|j|j|j|j|j|j|jg |�����}|jdkrt-|j��r
|j|d<|S)z�
Return environment dict.
Parameters
----------
exists: bool
It True, only return existing paths.
Return
------
dict
environment
r�r1r�rM)r�r1r�rMrrw)�dict�_build_pathsr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rr�)r��existsr�s r�
return_envzEnvironmentInfo.return_envvsA����%�%���O��O��%��)� �� � ��!�!���$��$��L��&��*���
�
��%�%���!�4�<��1A�4�>�R����
�"�"���L��L��J��M��M��L��L��)��K�
����7*
�*
�*
��V�;�"�����(<�!=�!=��)-�)=�C�%�&��
rc���tj�|��}tj|d���t��}tj||��}|r"ttt|����n|}|s6d|�
��z}tj�
|���t|��} t
j| ��S)aC
Given an environment variable name and specified paths,
return a pathsep-separated string of paths containing
unique, extant, directories from those paths and from
the environment variable. Raise an error if no paths
are resolved.
Parameters
----------
name: str
Environment variable name
spec_path_lists: list of str
Paths
exists: bool
It True, only return existing paths.
Return
------
str
Pathsep-separated paths
r�z %s environment variable is empty)r#�chain�
from_iterablerrBrrr��filterr�upperryr=rzrr)
r�r��spec_path_listsr��
spec_paths� env_pathsr��extant_pathsr�unique_pathss
rr�zEnvironmentInfo._build_paths�s���.�_�2�2�?�C�C�
��K��b�)�)�/�/��8�8� ���
�I�6�6��5;�F�t�F�5�%�0�0�1�1�1���� ?�4�t�z�z�|�|�C�C��"�9�9�#�>�>�>�&�|�4�4���|�L�)�)�)r)Nr)T)!rrrr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrr|r|]s��������.?�?�?�?�� � ��X� �� � ��X� ��D�D��X�D�&�
�
��X�
��D�D��X�D�(�E�E��X�E��#�#��X�#�J�A�A��X�A�&����X��2�#�#��X�#�J� '� '��X� '�!3�!3�!3�F�
5�
5��X�
5��6�6��X�6�����X��4�
F�
F��X�
F��:�:��X�:�� >� >��X� >�����X��6�E�E��X�E��@�@��X�@�"�
=�
=��X�
=��
5�
5��X�
5��*�*��X�*��#�#��X�#�J;�;�;�;�z*�*�*�*�*rr|ry)'r��
__future__rr�osrr�os.pathrrrr rFr
rC�platformr#�distutils.errorsry�typingr� setuptools.extern.more_itertoolsr�systemrrr��__annotations__r3rNr\rfr�r�r�r�r�r�r|rrr�<module>rs������#�"�"�"�"�"�������������0�0�0�0�0�0�0�0�0�0�0�0�)�)�)�)�)�)��������������������� � � � � � �<�<�<�<�<�<��%����*�*�i�7�7��M�M�M��������!�!�!�!�!�!�!�!�#�d�f�f�G�$�$�$�$�"�"�"�<,�,�,�`���� ���2 �2 �2 �j���<���4$�$�$�$�Nv
�v
�v
�v
�v
�v
�v
�v
�rz�z�z�z�z�z�z�z�zO/�O/�O/�O/�O/�O/�O/�O/�du *�u *�u *�u *�u *�u *�u *�u *�u *�u *r
Zerion Mini Shell 1.0