| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.6/distutils/command/__pycache__/ |
Upload File : |
3
�1�a� � @ s@ d dl Z d dlmZ d dlmZ d dlmZ G dd� de�ZdS )� 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/lib/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 �installr 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'