opt
/
alt
/
python310
/
lib64
/
python3.10
/
distutils
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-310.opt-1.pyc
637 bytes
Rename
Delete
__init__.cpython-310.opt-2.pyc
459 bytes
Rename
Delete
__init__.cpython-310.pyc
637 bytes
Rename
Delete
_msvccompiler.cpython-310.opt-1.pyc
12.50 KB
Rename
Delete
_msvccompiler.cpython-310.opt-2.pyc
11.39 KB
Rename
Delete
_msvccompiler.cpython-310.pyc
12.54 KB
Rename
Delete
archive_util.cpython-310.opt-1.pyc
6.37 KB
Rename
Delete
archive_util.cpython-310.opt-2.pyc
4.40 KB
Rename
Delete
archive_util.cpython-310.pyc
6.37 KB
Rename
Delete
bcppcompiler.cpython-310.opt-1.pyc
6.36 KB
Rename
Delete
bcppcompiler.cpython-310.opt-2.pyc
6.08 KB
Rename
Delete
bcppcompiler.cpython-310.pyc
6.36 KB
Rename
Delete
ccompiler.cpython-310.opt-1.pyc
32.20 KB
Rename
Delete
ccompiler.cpython-310.opt-2.pyc
16.38 KB
Rename
Delete
ccompiler.cpython-310.pyc
32.29 KB
Rename
Delete
cmd.cpython-310.opt-1.pyc
13.58 KB
Rename
Delete
cmd.cpython-310.opt-2.pyc
7.93 KB
Rename
Delete
cmd.cpython-310.pyc
13.58 KB
Rename
Delete
config.cpython-310.opt-1.pyc
3.47 KB
Rename
Delete
config.cpython-310.opt-2.pyc
3.12 KB
Rename
Delete
config.cpython-310.pyc
3.47 KB
Rename
Delete
core.cpython-310.opt-1.pyc
6.46 KB
Rename
Delete
core.cpython-310.opt-2.pyc
3.17 KB
Rename
Delete
core.cpython-310.pyc
6.46 KB
Rename
Delete
cygwinccompiler.cpython-310.opt-1.pyc
8.27 KB
Rename
Delete
cygwinccompiler.cpython-310.opt-2.pyc
6.72 KB
Rename
Delete
cygwinccompiler.cpython-310.pyc
8.27 KB
Rename
Delete
debug.cpython-310.opt-1.pyc
213 bytes
Rename
Delete
debug.cpython-310.opt-2.pyc
213 bytes
Rename
Delete
debug.cpython-310.pyc
213 bytes
Rename
Delete
dep_util.cpython-310.opt-1.pyc
2.67 KB
Rename
Delete
dep_util.cpython-310.opt-2.pyc
1.28 KB
Rename
Delete
dep_util.cpython-310.pyc
2.67 KB
Rename
Delete
dir_util.cpython-310.opt-1.pyc
5.71 KB
Rename
Delete
dir_util.cpython-310.opt-2.pyc
3.41 KB
Rename
Delete
dir_util.cpython-310.pyc
5.71 KB
Rename
Delete
dist.cpython-310.opt-1.pyc
33.17 KB
Rename
Delete
dist.cpython-310.opt-2.pyc
24.20 KB
Rename
Delete
dist.cpython-310.pyc
33.17 KB
Rename
Delete
errors.cpython-310.opt-1.pyc
4.84 KB
Rename
Delete
errors.cpython-310.opt-2.pyc
2.46 KB
Rename
Delete
errors.cpython-310.pyc
4.84 KB
Rename
Delete
extension.cpython-310.opt-1.pyc
6.83 KB
Rename
Delete
extension.cpython-310.opt-2.pyc
3.43 KB
Rename
Delete
extension.cpython-310.pyc
6.83 KB
Rename
Delete
fancy_getopt.cpython-310.opt-1.pyc
10.23 KB
Rename
Delete
fancy_getopt.cpython-310.opt-2.pyc
7.54 KB
Rename
Delete
fancy_getopt.cpython-310.pyc
10.34 KB
Rename
Delete
file_util.cpython-310.opt-1.pyc
5.80 KB
Rename
Delete
file_util.cpython-310.opt-2.pyc
3.73 KB
Rename
Delete
file_util.cpython-310.pyc
5.80 KB
Rename
Delete
filelist.cpython-310.opt-1.pyc
9.54 KB
Rename
Delete
filelist.cpython-310.opt-2.pyc
6.77 KB
Rename
Delete
filelist.cpython-310.pyc
9.61 KB
Rename
Delete
log.cpython-310.opt-1.pyc
2.22 KB
Rename
Delete
log.cpython-310.opt-2.pyc
2.16 KB
Rename
Delete
log.cpython-310.pyc
2.22 KB
Rename
Delete
msvc9compiler.cpython-310.opt-1.pyc
17.07 KB
Rename
Delete
msvc9compiler.cpython-310.opt-2.pyc
15.53 KB
Rename
Delete
msvc9compiler.cpython-310.pyc
17.11 KB
Rename
Delete
msvccompiler.cpython-310.opt-1.pyc
14.40 KB
Rename
Delete
msvccompiler.cpython-310.opt-2.pyc
12.90 KB
Rename
Delete
msvccompiler.cpython-310.pyc
14.40 KB
Rename
Delete
spawn.cpython-310.opt-1.pyc
3.35 KB
Rename
Delete
spawn.cpython-310.opt-2.pyc
2.25 KB
Rename
Delete
spawn.cpython-310.pyc
3.35 KB
Rename
Delete
sysconfig.cpython-310.opt-1.pyc
6.85 KB
Rename
Delete
sysconfig.cpython-310.opt-2.pyc
5.07 KB
Rename
Delete
sysconfig.cpython-310.pyc
6.85 KB
Rename
Delete
text_file.cpython-310.opt-1.pyc
8.23 KB
Rename
Delete
text_file.cpython-310.opt-2.pyc
3.29 KB
Rename
Delete
text_file.cpython-310.pyc
8.23 KB
Rename
Delete
unixccompiler.cpython-310.opt-1.pyc
6.95 KB
Rename
Delete
unixccompiler.cpython-310.opt-2.pyc
6.34 KB
Rename
Delete
unixccompiler.cpython-310.pyc
6.95 KB
Rename
Delete
util.cpython-310.opt-1.pyc
15.28 KB
Rename
Delete
util.cpython-310.opt-2.pyc
9.59 KB
Rename
Delete
util.cpython-310.pyc
15.29 KB
Rename
Delete
version.cpython-310.opt-1.pyc
7.13 KB
Rename
Delete
version.cpython-310.opt-2.pyc
3.94 KB
Rename
Delete
version.cpython-310.pyc
7.15 KB
Rename
Delete
versionpredicate.cpython-310.opt-1.pyc
5.03 KB
Rename
Delete
versionpredicate.cpython-310.opt-2.pyc
2.63 KB
Rename
Delete
versionpredicate.cpython-310.pyc
5.03 KB
Rename
Delete
o �?Og(R � @ s d Z ddlZddlZddlZddlZddlZddlZddlm Z ddl mZ ddlm Z ddlmZ ddlmZ dd � Zd d� Zdd � Zdd� Zdadd� Zdd� Zd*dd�Zd a aadd� Zdd� Zd+dd�Zdd� Z d,d d!�Zd"d#� Z d-d$d%�Z! d.d&d'�Z"G d(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 C s� t jdkr#dtj�� v rdS dtj�� v rdS dtj�� v r dS tjS dt jv r-t jd S t jd ks7tt d �s:tjS t �� \} }}}}| �� � dd�} |� d d�}|� dd�}| dd� dkred| |f S | dd� dkr�|d dkr�d} dt |d �d |dd� f }ddd�}|d|tj 7 }nL| dd� dkr�dd lm } |� S | dd!� d"kr�d"} t�d#tj�}|�|�}|r�|�� }n| dd!� d$kr�ddl} ddl} | �| j�� | ||�\} }}d%| ||f 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'. �ntZamd64� win-amd64z(arm)� win-arm32z(arm64)z win-arm64Z_PYTHON_HOST_PLATFORM�posix�uname�/� � �_�-N� Zlinuxz%s-%sZsunosr �5Zsolarisz%d.%s� � Z32bitZ64bit)i���l ���� z.%sZaix)�aix_platform� �cygwinz[\d.]+�darwinz%s-%s-%s)�os�name�sys�version�lower�platform�environ�hasattrr �replace�int�maxsizeZ_aix_supportr �re�compile�ASCII�match�group�_osx_supportZdistutils.sysconfigZget_platform_osxZ sysconfigZget_config_vars)ZosnameZhost�releaser �machineZbitnessr Zrel_re�mr) � distutils� r. �5/opt/alt/python310/lib64/python3.10/distutils/util.py�get_host_platform sT � � �r0 c C s4 t jdkrdddd�} | �t j�d��pt� S t� S )Nr Zwin32r r )Zx86Zx64ZarmZVSCMD_ARG_TGT_ARCH)r r �getr r0 )ZTARGET_TO_PLATr. r. r/ �get_platformc s �r2 c C s� t jdkr| S | s| S | d dkrtd| ��| d dkr#td| ��| �d�}d|v r5|�d� d|v s,|s:t jS t jj|� S )a� Return 'pathname' as a name that will work on the native filesystem, i.e. split it on '/' and put it back together again using the current directory separator. Needed because filenames in the setup script are always supplied in Unix style, and have to be converted to the local convention before we can actually use them in the filesystem. Raises ValueError on non-Unix-ish systems if 'pathname' either starts or ends with a slash. r r zpath '%s' cannot be absolute���zpath '%s' cannot end with '/'�.)r �sep� ValueError�split�remove�curdir�path�join)�pathname�pathsr. r. r/ �convert_pathn s �r>