• File: install_scripts.cpython-38.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python38/lib64/python3.8/distutils/command/__pycache__/install_scripts.cpython-38.pyc
  • Date Modified: 10/26/2026 8:15 PM
  • File size: 2.11 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
U

if@sDdZddlZddlmZddlmZddlmZGdddeZdS)zudistutils.command.install_scripts

Implements the Distutils 'install_scripts' command, for installing
Python scripts.N)Command)log)ST_MODEc@sLeZdZdZddddgZddgZdd	Zd
dZdd
ZddZ	ddZ
dS)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 stepsrr
cCsd|_d|_d|_d|_dS)Nr)install_dirr	build_dir
skip_buildselfrF/opt/alt/python38/lib64/python3.8/distutils/command/install_scripts.pyinitialize_optionssz"install_scripts.initialize_optionscCs |dd|dddddS)NZbuild)
build_scriptsrZinstall)rr)rr)r
r
)Zset_undefined_optionsrrrrfinalize_options!sz install_scripts.finalize_optionscCs|js|d||j|j|_tjdkr~|D]H}|j	rLt
d|q4t|t
dBd@}t
d||t||q4dS)Nrposixzchanging mode of %simizchanging mode of %s to %o)r
Zrun_commandZ	copy_treerroutfilesosnameget_outputsZdry_runrinfostatrchmod)rfilemoderrrrun)s

zinstall_scripts.runcCs|jjp
gSN)ZdistributionZscriptsrrrr
get_inputs8szinstall_scripts.get_inputscCs
|jpgSr )rrrrrr;szinstall_scripts.get_outputsN)__name__
__module____qualname__ZdescriptionZuser_optionsZboolean_optionsrrrr!rrrrrrsr)	__doc__rZdistutils.corerZ	distutilsrrrrrrrr<module>s