OwlCyberSecurity - MANAGER
Edit File: install.cpython-38.pyc
U �p�]H � @ sz d dl mZmZmZ d dlZdejkr>d dlm mZ dZ nd dlm mZ dZ d dlm Z e jZG dd� de�ZdS ) � )�division�absolute_import�print_functionNZ setuptoolsTF)� write_filec @ s8 e Zd Zejddd� fg Zdd� Zdd� Zdd � Zd S )�installZinstall_clibc C s dS )NT� )�xr r �A/usr/lib/python3/dist-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��>}g }d}|D ]*}|�� }d|krXd}d| }|�|� q8W 5 Q R X |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 : s* ��zinstall.runN)r � __module__�__qualname__r Zsub_commandsr r r r r r r r s � r )Z __future__r r r r �modulesZsetuptools.command.installZcommandr Zold_install_modr r Zdistutils.file_utilr r r r r r �<module> s