| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/setuptools/_distutils/__pycache__/ |
Upload File : |
�
_�d�F � �V � d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl
mZmZ ddl
mZ ddlmZ ddlmZ d� Zd � Zej( d
k( rdadZd� Zd
� Zd� Zd� Zd� Zd� Z e j: � d� � Zd� Zd� Z dd�Z!dxa"xa#a$d� Z%d� Z&dd�Z'd� Z( dd�Z)d� Z*y)zudistutils.util
Miscellaneous utility functions -- anything that doesn't fit into
one of the other *util.py modules.
� N� )�DistutilsPlatformError�DistutilsByteCompileError)�newer)�spawn)�logc �� � t j dk rUt j dk( rBdt j j � v rydt j j � v ryt j dk rUt j dk( rBt
t d � r2t j � \ } }}}}| d
d dk( rd
dlm } || ||� S t j � S )z�
Return a string that identifies the current platform. Use this
function to distinguish platform-specific build directories and
platform-specific built distributions.
)� � �ntz(arm)� win-arm32z(arm64)� win-arm64)r
� �posix�unameNr
�aixr )�aix_platform)�sys�version_info�os�name�version�lower�hasattrr �
py38compatr � sysconfig�get_platform)�osname�host�releaser �machiner s �</usr/lib/python3/dist-packages/setuptools/_distutils/util.py�get_host_platformr# s� � � ���&� �
�7�7�d�?��#�+�+�+�+�-�-�"��C�K�K�-�-�/�/�"�
���&� �
�7�7�g��'�"�g�"6�68�h�h�j�3�F�D�'�7�G��b�q�z�U�"�4�#�F�G�W�=�=��!�!�#�#� c �� � t j dk( rCddddd�} t j j d� }| j |� xs
t � S t � S )Nr �win32z win-amd64r
r )�x86�x64�arm�arm64�VSCMD_ARG_TGT_ARCH)r r �environ�getr# )�TARGET_TO_PLAT�targets r"