| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.6/distutils/command/__pycache__/ |
Upload File : |
3
\� � @ sD d Z ddlZddlmZ ddlmZ ddlmZ G dd� de�ZdS )zudistutils.command.install_scripts
Implements the Distutils 'install_scripts' command, for installing
Python scripts.� N)�Command)�log)�ST_MODEc @ sL e Zd ZdZddddgZddgZdd� Zdd� Zdd� Zdd� Z dd� Z
dS )�install_scriptsz%install scripts (Python or otherwise)�install-dir=�d�directory to install scripts to�
build-dir=�b�'build directory (where to install from)�force�f�-force installation (overwrite existing files)�
skip-buildN�skip the build stepsc C s d | _ d| _d | _d | _d S )Nr )�install_dirr � build_dir�
skip_build)�self� r �'/usr/lib64/python3.6/install_scripts.py�initialize_options s z"install_scripts.initialize_optionsc C s | j dd � | j dd
dd� d S )
NZbuild�
build_scriptsr Zinstallr r r r )r r )r r )r r )r r )Zset_undefined_options)r r r r �finalize_options! s
z install_scripts.finalize_optionsc C s� | j s| jd� | j| j| j�| _tjdkr�xT| j� D ]H}| j rNt
jd|� q6tj|�t
dB d@ }t
jd||� tj||� q6W d S )Nr �posixzchanging mode of %sim i� zchanging mode of %s to %o)r Zrun_commandZ copy_treer r �outfiles�os�name�get_outputsZdry_runr �info�statr �chmod)r �file�moder r r �run) s
zinstall_scripts.runc C s | j jp
g S )N)Zdistribution�scripts)r r r r �
get_inputs8 s zinstall_scripts.get_inputsc C s
| j pg S )N)r )r r r r r ; s zinstall_scripts.get_outputs)r r r )r r
r )r r
r )r Nr )�__name__�
__module__�__qualname__�descriptionZuser_optionsZboolean_optionsr r r$ r&