Current Dir: /snap/core22/2437/usr/lib/python3.10/distutils/command/__pycache__/
[FILE] bdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_dumb.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_msi.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_rpm.cpython-310.pyc [ edit | delete | rename ]
[FILE] build.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_clib.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_ext.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_py.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_scripts.cpython-310.pyc [ edit | delete | rename ]
[FILE] check.cpython-310.pyc [ edit | delete | rename ]
[FILE] clean.cpython-310.pyc [ edit | delete | rename ]
[FILE] config.cpython-310.pyc [ edit | delete | rename ]
[FILE] install.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_data.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_headers.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_lib.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_scripts.cpython-310.pyc [ edit | delete | rename ]
[FILE] register.cpython-310.pyc [ edit | delete | rename ]
[FILE] sdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3.10/distutils/command/__pycache__/install_headers.cpython-310.pyc
o
��bc � @ 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� Zdd� Zd d
� Zdd� Z d
d� Z
dS )�install_headerszinstall C/C++ header files)zinstall-dir=�dz$directory to install header files to)�force�fz-force installation (overwrite existing files)r c C s d | _ d| _g | _d S )Nr )�install_dirr �outfiles��self� r �8/usr/lib/python3.10/distutils/command/install_headers.py�initialize_options s
z"install_headers.initialize_optionsc C s | � ddd� d S )N�install)r r )r r )�set_undefined_optionsr r r r �finalize_options s �z install_headers.finalize_optionsc C sH | j j}|sd S | �| j� |D ]}| �|| j�\}}| j�|� qd S �N)�distribution�headers�mkpathr � copy_filer �append)r
r �header�out�_r r r �run! s �zinstall_headers.runc C s | j jpg S r )r r r r r r �
get_inputs+ s zinstall_headers.get_inputsc C s | j S r )r r r r r �get_outputs. s zinstall_headers.get_outputsN)�__name__�
__module__�__qualname__�description�user_options�boolean_optionsr
r r r r r r r r r
s �
r N)�__doc__�distutils.corer r r r r r �<module> s