ok
Direktori : /lib64/python3.6/distutils/command/__pycache__/ |
Current File : //lib64/python3.6/distutils/command/__pycache__/install_headers.cpython-36.pyc |
3 \ � @ s$ d Z ddlmZ G dd� de�ZdS )z�distutils.command.install_headers Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.� )�Commandc @ sF e Zd ZdZddgZdgZdd � Zd d� Zdd � Zdd� Z dd� Z dS )�install_headerszinstall C/C++ header files�install-dir=�d�$directory to install header files to�force�f�-force installation (overwrite existing files)c C s d | _ d| _g | _d S )Nr )�install_dirr �outfiles)�self� r �'/usr/lib64/python3.6/install_headers.py�initialize_options s z"install_headers.initialize_optionsc C s | j ddd� d S )NZinstallr r r )r r )r r )Zset_undefined_options)r r r r �finalize_options s z install_headers.finalize_optionsc C sL | j j}|sd S | j| j� x*|D ]"}| j|| j�\}}| jj|� q"W d S )N)�distribution�headersZmkpathr Z copy_filer �append)r r �header�out�_r r r �run! s zinstall_headers.runc C s | j jp g S )N)r r )r r r r � get_inputs+ s zinstall_headers.get_inputsc C s | j S )N)r )r r r r �get_outputs. s zinstall_headers.get_outputsN)r r r )r r r )�__name__� __module__�__qualname__�descriptionZuser_optionsZboolean_optionsr r r r r r r r r r s r N)�__doc__Zdistutils.corer r r r r r �<module> s