| Server IP : 43.141.49.119 / Your IP : 113.219.202.173 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/distutils/__pycache__/ |
Upload File : |
�
��e(R � � � d Z ddlZddlZddlZddlZddlZddlZddlm Z ddl
mZ ddlm
Z
ddlmZ ddlmZ d� Zd � Zd
� Zd� Zdad� Zd
� Zdd�Zdxaxaad� Zd� Zdd�Zd� Z dd�Zd� Z dd�Z! dd�Z" G d� d� � Z#dS ) zudistutils.util
Miscellaneous utility functions -- anything that doesn't fit into
one of the other *util.py modules.
� N)�DistutilsPlatformError)�newer)�spawn)�log)�DistutilsByteCompileErrorc � � t j dk rrdt j � � � v rdS dt j � � � v rdS dt j � � � v rdS t j S dt j v rt j d S t j d k st t d
� � st j S t j � � \ } }}}}| � � � � dd� � } |� d
d� � }|� dd� � }| dd� dk r| �d|��S | dd� dk rQ|d dk rDd} dt |d � � dz
|dd� fz }ddd�}|d|t j z z
}n�| dd� dk rddlm
} |� � S | dd � d!k rMd!} t j d"t j � � }|� |� � }|r|� � � }nI| dd � d#k r;ddl} ddl}
| � |
j � � � | ||� � \ } }}| �d|�d|��S )$a� Return a string that identifies the current platform. This is used mainly to
distinguish platform-specific build directories and platform-specific built
distributions. Typically includes the OS name and version and the
architecture (as supplied by 'os.uname()'), although the exact information
included depends on the OS; eg. on Linux, the kernel version isn't
particularly important.
Examples of returned values:
linux-i586
linux-alpha (?)
solaris-2.6-sun4u
Windows will return one of:
win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
win32 (all others - specifically, sys.platform is returned)
For other non-POSIX platforms, currently just returns 'sys.platform'.
�nt�amd64� win-amd64z(arm)� win-arm32z(arm64)z win-arm64�_PYTHON_HOST_PLATFORM�posix�uname�/� � �_�-N� �linux�sunosr �5�solarisz%d.%s� � �32bit�64bit)i���l ���� z.%s�aix)�aix_platform� �cygwinz[\d.]+�darwin)�os�name�sys�version�lower�platform�environ�hasattrr �replace�int�maxsize�_aix_supportr �re�compile�ASCII�match�group�_osx_support�distutils.sysconfig�get_platform_osx� sysconfig�get_config_vars)�osname�host�releaser&