<!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>
U
    e5dá  ã                   @   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))ú
skip-buildNzskip the build stepsr   r
   c                 C   s   d | _ d| _d | _d | _d S )Nr   )Úinstall_dirr   Ú	build_dirÚ
skip_build©Úself© r   ú9/usr/lib64/python3.8/distutils/command/install_scripts.pyÚinitialize_options   s    z"install_scripts.initialize_optionsc                 C   s    |   dd¡ |   dddd¡ d S )NZbuild)Úbuild_scriptsr   Zinstall)r   r   )r   r   )r   r   )Zset_undefined_optionsr   r   r   r   Úfinalize_options!   s    ýz install_scripts.finalize_optionsc                 C   s‚   | j s|  d¡ |  | j| j¡| _tjdkr~|  ¡ D ]H}| j	rLt
 d|¡ q4t |¡t dB d@ }t
 d||¡ t ||¡ q4d S )Nr   Úposixzchanging mode of %sim  iÿ  zchanging mode of %s to %o)r   Zrun_commandZ	copy_treer   r   ÚoutfilesÚosÚnameÚget_outputsZdry_runr   ÚinfoÚstatr   Úchmod)r   ÚfileÚmoder   r   r   Úrun)   s    

zinstall_scripts.runc                 C   s   | j jp
g S ©N)ZdistributionZscriptsr   r   r   r   Ú
get_inputs8   s    zinstall_scripts.get_inputsc                 C   s
   | j pg S r    )r   r   r   r   r   r   ;   s    zinstall_scripts.get_outputsN)Ú__name__Ú
__module__Ú__qualname__ZdescriptionZuser_optionsZboolean_optionsr   r   r   r!   r   r   r   r   r   r      s   ür   )	Ú__doc__r   Zdistutils.corer   Z	distutilsr   r   r   r   r   r   r   r   Ú<module>   s
   