<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
B
    ‘–Reá  ã               @   sD   d Z ddlZddlmZ ddlmZ ddlmZ G dd„ deƒZdS )zudistutils.command.install_scripts

Implements the Distutils 'install_scripts' command, for installing
Python scripts.é    N)ÚCommand)Úlog)ÚST_MODEc               @   sL   e Zd ZdZddddgZddgZdd	„ Zd
d„ Zdd„ Zdd„ Z	dd„ Z
dS )Úinstall_scriptsz%install scripts (Python or otherwise))zinstall-dir=Údzdirectory to install scripts to)z
build-dir=Úbz'build directory (where to install from))ÚforceÚfz-force installation (overwrite existing files))z
skip-buildNzskip the build stepsr   z
skip-buildc             C   s   d | _ d| _d | _d | _d S )Nr   )Úinstall_dirr   Ú	build_dirÚ
skip_build)Úself© r   ú£/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/_distutils/command/install_scripts.pyÚinitialize_options   s    z"install_scripts.initialize_optionsc             C   s    |   dd¡ |   dddd¡ d S )NÚbuild)Úbuild_scriptsr   Úinstall)r   r
   )r   r   )r   r   )Úset_undefined_options)r   r   r   r   Úfinalize_options!   s
    z install_scripts.finalize_optionsc             C   s†   | j s|  d¡ |  | j| j¡| _tjdkr‚xT|  ¡ D ]H}| j	rNt
 d|¡ q6t |¡t dB d@ }t
 d||¡ t ||¡ q6W d S )Nr   Úposixzchanging mode of %sim  iÿ  zchanging mode of %s to %o)r   Úrun_commandÚ	copy_treer   r
   ÚoutfilesÚosÚnameÚget_outputsÚdry_runr   ÚinfoÚstatr   Úchmod)r   ÚfileÚmoder   r   r   Úrun)   s    

zinstall_scripts.runc             C   s   | j jp
g S )N)ÚdistributionÚscripts)r   r   r   r   Ú
get_inputs8   s    zinstall_scripts.get_inputsc             C   s
   | j pg S )N)r   )r   r   r   r   r   ;   s    zinstall_scripts.get_outputsN)Ú__name__Ú
__module__Ú__qualname__ÚdescriptionÚuser_optionsÚboolean_optionsr   r   r#   r&   r   r   r   r   r   r      s   r   )	Ú__doc__r   Údistutils.corer   Ú	distutilsr   r   r   r   r   r   r   r   Ú<module>   s
   