%PDF- %PDF-
| Direktori : /usr/lib64/python3.9/site-packages/numpy/distutils/command/__pycache__/ |
| Current File : //usr/lib64/python3.9/site-packages/numpy/distutils/command/__pycache__/install.cpython-39.pyc |
a
z[yc � @ sf d dl Z de jv r*d dlm mZ dZnd dlm mZ dZd dlm Z ejZ
G dd� de
�ZdS )� NZ
setuptoolsTF)�
write_filec @ s8 e Zd Zejddd� fg Zdd� Zdd� Zdd � Zd
S )�installZinstall_clibc C s dS )NT� )�xr r �E/usr/lib64/python3.9/site-packages/numpy/distutils/command/install.py�<lambda> � zinstall.<lambda>c C s t �| � | j| _d S )N)�old_install�finalize_optionsZinstall_libbaseZinstall_lib)�selfr r r r
s
zinstall.finalize_optionsc C sj ddl m} | js| jr"|�| �S t�d�}|j�dd�}|j j
}|dksR|dkr^|�| � n| �� dS ) z� The setuptools version of the .run() method.
We must pull in the entire code so we can override the level used in the
_getframe() call since we wrap this call by one more level.
r )r � �__name__� zdistutils.distZrun_commandsN)�distutils.command.installr Zold_and_unmanageableZ!single_version_externally_managed�run�sys� _getframe� f_globals�get�f_code�co_nameZdo_egg_install)r Zdistutils_installZcallerZ
caller_moduleZcaller_namer r r �setuptools_run s
zinstall.setuptools_runc C s� t st�| �}n| �� }| jr�t| jd��H}g }d}|D ]*}|�� }d|v rXd}d| }|�|� q8W d � n1 sx0 Y |r�| �t | j|fd| j � |S )N�rF� Tz"%s"z*re-writing list of installed files to '%s')
�have_setuptoolsr r r �record�open�rstrip�appendZexecuter )r r �f�linesZneed_rewrite�lr r r r 8 s* *��zinstall.runN)r
�
__module__�__qualname__r Zsub_commandsr
r r r r r r r s
� r )r �modulesZsetuptools.command.installZcommandr Zold_install_modr r Zdistutils.file_utilr r r r r r �<module> s