| Server IP : 188.114.97.3 / Your IP : 216.73.216.30 Web Server : LiteSpeed System : Linux vmi2710904 5.15.0-144-generic #157-Ubuntu SMP Mon Jun 16 07:33:10 UTC 2025 x86_64 User : rarch5794 ( 1006) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.10/__pycache__/ |
Upload File : |
o
p̦i� � @ s� d Z ddlZddlZddlZddlZddlm mZ ddl
m mZ ddl
m
Z
mZmZ ddlmZ G dd� de j�ZG dd� dej�Zd d
� Zdd� Zd
d� Zdd� Zdd� Zdd� Ze� dS )a
Apply Debian-specific patches to distutils commands.
Extracts the customized behavior from patches as reported
in pypa/distutils#2 and applies those customizations (except
for scheme definitions) to those commands.
Place this module somewhere in sys.path to take effect.
� N)�to_filename� safe_name�safe_version)�DistutilsOptionErrorc sF e Zd Zeejj�dg Z� fdd�Z� fdd�Z� fdd�Z � Z
S )�install)zinstall-layout=Nz7installation layout to choose (known values: deb, unix)c � t � �� d | _d | _d S �N��super�initialize_options�
prefix_option�install_layout��self�� __class__� �,/usr/lib/python3.10/_distutils_system_mod.pyr �
zinstall.initialize_optionsc s� |dkrH| j r| j �� dv rd}n7| j �� dv rd}n-td��| jr+tj�| j�dks.t� r1d}ntj�| j�dkrFd | _| _ d | _
| _d}t� �
|� d S ) N�posix_prefix)�deb�
deb_system)�unix�"unknown value for --install-layout�
/usr/local�/usr�posix_local)r
�lowerr r �os�path�normpath�prefix�is_virtual_environment�exec_prefix�install_base�install_platbaser
�
select_scheme)r �namer r r r&