Hacked By AnonymousFox
3
f1O � @ s� d dl Z d dlZd dlZd dlZddlmZ ejjej�Z ejjej
�Zejjej�Z
ejjej�Zdejkr�ejjejd �Znejjejjej��Zejdkr�ej� jd+�r�ejjejje��Zdd � Zeed
d�Zeo�ejdko�ej� jd,��r
ejjejje��Zdd� Ze� Zd
Zye�s*ejZW n ek
�rB Y nX dd� Z d-dd�Z!d.dd�Z"dd� Z#dd� Z$dd� Z%d/dd�Z&ej'd�Z(ej'd�Z)ej'd�Z*d0dd �Z+d!d"� Z,da-d#d$� Z.d%d&� Z/d'd(� Z0d)d*� Z1dS )1� N� )�DistutilsPlatformErrorZ_PYTHON_PROJECT_BASE�nt�\pcbuild\win32�\pcbuild\amd64c C s. x(dD ] }t jjt jj| d|��rdS qW dS )N�
Setup.dist�Setup.local�ModulesTF)r r )�os�path�isfile�join)�d�fn� r �./opt/alt/python36/lib64/python3.6/sysconfig.py�_is_python_source_dir) s
r �_homec C s t rtt �S tt�S )N)� _sys_homer �project_baser r r r �
_python_build2 s r � c C s dt jd d� S )Nz%d.%d� )�sys�version_infor r r r �get_python_versionD s r c C s� |d kr| rt pt}tjdkrjtrL| r.tp,tS tjjt d�d�}tjj
|�S dt� t }tjj|d|�S tjdkr�tjj|d�S t
dtj ��d S )N�posix�srcdirZInclude�python�includer zFI 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_flagsr )�
plat_specific�prefixZincdirZ
python_dirr r r �get_python_incL s
r) c C s� |d kr&|r| rt pt}n| r"tp$t}tjdkrp| s8|r>d}nd}tjj||dt� �}|r`|S tjj|d�S n<tjdkr�|r�tjj|d�S tjj|dd�S nt dtj ��d S ) Nr �lib64�libr z
site-packagesr ZLibz?I don't know where Python installs its library on platform '%s')
r r! �EXEC_PREFIX�PREFIXr
r"