File: //usr/local/lib/python3.7/distutils/tests/__pycache__/test_build.cpython-37.opt-2.pyc
B
!��g� � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl m
Z
G dd� dejeje j
�Zdd � Zed
kr|ee� � dS )� N)�run_unittest)�build)�support)�get_platformc @ s e Zd Zdd� ZdS )�
BuildTestCasec C s$ | � � \}}t|�}|�� | �|jt� � tj�|j d�}| �|j
|� d|jftjd d� � }t
td�r�| �|j�d�� |d7 }tj�|j d| �}| �|j|� | �|j|j
� tj�|j d| �}| �|j|� tj�|j dtjd d� �}| �|j|� | �|jtj�tj�� d S )N�libz .%s-%d.%d� Zgettotalrefcountz-pydebugZtempz
scripts-%d.%d)Zcreate_distr Zfinalize_optionsZassertEqualZ plat_namer �os�path�joinZ
build_baseZ
build_purelib�sys�version_info�hasattrZ
assertTrueZ
build_platlib�endswithZ build_libZ
build_tempZ
build_scripts�
executable�normpath)�selfZpkg_dirZdist�cmdZwantedZ plat_spec� r �6/usr/local/lib/python3.7/distutils/tests/test_build.py�test_finalize_options s&