\dRdZddlZddlmZddlmZddlmZGddeZdS)zudistutils.command.install_scripts Implements the Distutils 'install_scripts' command, for installing Python scripts.N)Command)log)ST_MODEc@eZdZdZgdZddgZdZdZdZdZ d Z d S) 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 r c>d|_d|_d|_d|_dS)Nr) install_dirr build_dir skip_buildselfs 2..\python\lib\distutils\command\install_scripts.pyinitialize_optionsz"install_scripts.initialize_optionss# cb|dd|dddddS)Nbuild) build_scriptsrinstall)rr)r r )rr)set_undefined_optionsrs rfinalize_optionsz install_scripts.finalize_options!sF ""7,JKKK ""9#E#5#? $ $ $ $ $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_inputs8s (.B.rc|jpgSr,)r rs rr#zinstall_scripts.get_outputs;s}""rN) __name__ __module__ __qualname__ description user_optionsboolean_optionsrrr*r/r#rrrrs9KL -O $$$ ) ) )///#####rr) __doc__r!distutils.corer distutilsrr&rrr7rrr;s """""".#.#.#.#.#g.#.#.#.#.#r