Your IP : 3.14.249.191
a
R�f�P � @ s� d dl Z d dlZd dlZd dlZddlmZ ej�ej�Z ej�ej
�Zej�ej�Z
ej�ej�Zdejv r�ej�ejd �Zn&ejr�ej�ej�ej��Zne�� Zdd� Zeedd�Zejdkr�d d
� Zee�Zee�Zdd� Ze� Zd
Zzes�ejZW n e�y Y n0 dd� Z d+dd�Z!d,dd�Z"dd� Z#dd� Z$dd� Z%d-dd�Z&e�'d�Z(e�'d�Z)e�'d�Z*d.dd �Z+d!d"� Z,da-d#d$� Z.d%d&� Z/d'd(� Z0d)d*� Z1dS )/� N� )�DistutilsPlatformErrorZ_PYTHON_PROJECT_BASEc C s, dD ]"}t j�t j�| d|��r dS qdS )N)ZSetupzSetup.localZModulesTF)�os�path�isfile�join)�d�fn� r
�8/opt/alt/python39/lib64/python3.9/distutils/sysconfig.py�_is_python_source_dir* s r �_home�ntc C s0 | r,t j�| ��t j�t j�td���r,tS | S )NZPCbuild)r r �normcase�
startswithr �PREFIX)r r
r
r �_fix_pcbuild3 s
�r c C s t rtt �S tt�S )N)� _sys_homer �project_baser
r
r
r �
_python_build; s r � c C s dt jd d� S )Nz%d.%d� )�sys�version_infor
r
r
r �get_python_versionO s r c C s� |d u r| rt pt}tjdkrjtrL| r.tp,tS tj�t d�d�}tj�
|�S dt� t }tj�|d|�S tjdkr�tr�tj�|d�tjj
tj�|d� S tj�|d�S tdtj ��d S ) N�posix�srcdirZInclude�pythonZincluder �PCzFI don't know where Python installs its C header files on platform '%s')�BASE_EXEC_PREFIX�BASE_PREFIXr �name�python_buildr r r r �get_config_var�normpathr �build_flags�pathsepr )�
plat_specific�prefixZincdirZ
python_dirr
r
r �get_python_incW s*
���r) c C s� |d u r&|r| rt pt}n| r"tp$t}tjdkrr| s8|r@tj}nd}tj� ||dt
� �}|rb|S tj� |d�S n<tjdkr�|r�tj� |d�S tj� |dd�S ntdtj ��d S )Nr �libr z
site-packagesr ZLibz?I don't know where Python installs its library on platform '%s')r r �EXEC_PREFIXr r r! r �
platlibdirr r r r )r'