%PDF- %PDF-
Direktori : /lib/python3/dist-packages/setuptools/_distutils/__pycache__/ |
Current File : //lib/python3/dist-packages/setuptools/_distutils/__pycache__/util.cpython-312.pyc |
� _�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"