,|oi^dZddlZddlmZddlmZddlmZddlm Z Gdd e Z dS) zudistutils.command.install_scripts Implements the Distutils 'install_scripts' command, for installing Python scripts.N)log)ST_MODE)ClassVar)CommandcheZdZUdZgdZddgZeeee d<dZ d d Z d d Z d Z d ZdS)install_scriptsz%install scripts (Python or otherwise)))z install-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 rboolean_optionsc>d|_d|_d|_d|_dS)NF) install_dirr build_dir skip_buildselfs /builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/setuptools/_distutils/command/install_scripts.pyinitialize_optionsz"install_scripts.initialize_optionss# returnNcb|dd|dddddS)Nbuild) build_scriptsrinstall)r r)r r )rr)set_undefined_optionsrs rfinalize_optionsz install_scripts.finalize_options"sG ""7,JKKK ""  .  (      rc|js|d||j|j|_t jdkr|D]q}|j rtj d|t j |tdzdz}tj d||t j||pdSdS)Nrposixzchanging mode of %simizchanging mode of %s to %o)r run_command copy_treerroutfilesosname get_outputsdry_runrinfostatrchmod)rfilemodes rrunzinstall_scripts.run+s .   _ - - -t~t7GHH 7g  ((** ) )<)H2D9999WT]]73u<FDH8$EEEHT4((((   ) )rc|jjpgSN) distributionscriptsrs r get_inputszinstall_scripts.get_inputs:s (.B.rc|jpgSr0)r$rs rr'zinstall_scripts.get_outputs=s}""r)rN)__name__ __module__ __qualname__ description user_optionsrrliststr__annotations__rrr.r3r'rrr r s9KL-4\+BOXd3i(BBB      ) ) ) )///#####rr ) __doc__r%distutils._logrr*rtypingrcorerr r=rrrBs .#.#.#.#.#g.#.#.#.#.#r