File: //usr/lib/python3.5/distutils/command/__pycache__/install_headers.cpython-35.pyc
Füƒa ã @ 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
ú7/usr/lib/python3.5/distutils/command/install_headers.pyÚinitialize_options s z"install_headers.initialize_optionsc C s | j d d d ƒ 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 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 )r r 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