Q=:Am P d dl Z d dlmZ d dlmZ d dlmZ G d de ZdS ) N)Command)log)ST_MODEc @ e Zd ZdZg dZddgZd Zd Zd Zd Z d Z d S )install_scriptsz%install scripts (Python or otherwise)))zinstall-dir=dzdirectory to install scripts to)z build-dir=bz'build directory (where to install from))forcefz-force installation (overwrite existing files)) skip-buildNzskip the build stepsr r c > d | _ d| _ d | _ d | _ d S )Nr )install_dirr build_dir skip_buildselfs H/opt/alt/python311/lib64/python3.11/distutils/command/install_scripts.pyinitialize_optionsz"install_scripts.initialize_options s# c b | dd | dddd d S )Nbuild) build_scriptsr install)r r )r r )r r )set_undefined_optionsr s r finalize_optionsz install_scripts.finalize_options! sF ""7,JKKK""9#E#5#? $ $ $ $ $r c | j s| d | | j | j | _ t j dk r| D ]q}| j rt j d| t j | t dz dz }t j d|| t j || pd S d S )Nr posixzchanging mode of %sim i zchanging mode of %s to %o)r run_command copy_treer r outfilesosnameget_outputsdry_runr infostatr chmod)r filemodes r runzinstall_scripts.run) s ._---t~t7GHH 7g ((** ) )<