Your IP : 3.147.69.25
3
��2a5Q � @ s d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlm Z d dl
mZ d dlm
Z
d dlmZ dd� Zd d
� Zdd� Zd ad
d� Zdd� Zd'dd�Zd a aadd� Zdd� Zd(dd�Zdd� Zd)dd�Zdd � Zd*d!d"�Zd+d#d$�Z G d%d&� d&�Z!dS ),� N)�DistutilsPlatformError)�newer)�spawn)�log)�DistutilsByteCompileErrorc C s t jdkrnd} tjj| �}|d(kr(tjS tjjd|�}tj|t| � |� j� }|dkr\dS |dkrhdS tjS d t jkr�t jd S t jd
ks�t t d� r�tjS t j
� \}}}}}|j� jdd
�}|jdd�}|jdd�}|d d� dkr�d||f S |d d� dk�rV|d dk�rd}dt|d �d |dd � f }ddd�} |d| tj
7 }n�|d d� d k�rtd||f S |d d� d!k�r�d"|||f S |d d#� d$k�r�d$}tjd%tj�}
|
j|�}|�r|j� }n>|d d#� d&k�rdd l}dd l}
|j|
jj� |||�\}}}d'|||f S ))N�ntz bit (� �)�amd64z win-amd64�itaniumzwin-ia64�_PYTHON_HOST_PLATFORM�posix�uname�/� � �_�-� �linuxz%s-%s�sunosr �5�solarisz%d.%s� � �32bit�64bit)i���l ���� z.%s� �irix�aixz%s-%s.%s� �cygwinz[\d.]+�darwinz%s-%s-%s���)�os�name�sys�version�find�platform�len�lower�environ�hasattrr �replace�int�maxsize�re�compile�ASCII�match�group�_osx_supportZdistutils.sysconfig�get_platform_osx� sysconfig�get_config_vars)�prefix�i�j�look�osname�host�releaser'