관리-도구
편집 파일: install_headers.cpython-34.pyc
� i f � @ s0 d Z d d l m Z Gd d � d e � Z d S)z�distutils.command.install_headers Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.� )�Commandc @ sg e Z d Z d Z d d g Z d g Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�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 �F/opt/alt/python34/lib64/python3.4/distutils/command/install_headers.py�initialize_options s z"install_headers.initialize_optionsc C s | j d d d � d S)NZinstallr r r )zinstall_headerszinstall_dir)�forcer )Zset_undefined_options)r r r r �finalize_options s z install_headers.finalize_optionsc C sf | j j } | s d S| j | j � x9 | D]1 } | j | | j � \ } } | j j | � q- Wd S)N)�distribution�headersZmkpathr Z copy_filer �append)r r �header�out�_r r r �run! s zinstall_headers.runc C s | j j p 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 )zforcer r )�__name__� __module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsr r r r r r r r r r s r N)�__doc__Zdistutils.corer r r r r r �<module> s