| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_internal/operations/install/__pycache__/ |
Upload File : |
�
�/�c � �b � d Z ddlZddlZddlmZmZmZ ddlmZ ddl m
Z
mZ ddlm
Z
ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ej e� � Zdee d
ee deddfd�Zdee dee d
ee dee dee dedededededededededefd�ZdS )z6Legacy installation process, i.e. `setup.py install`.
� N)�List�Optional�Sequence)�BuildEnvironment)�InstallationError�LegacyInstallFailure)�change_root)�Scheme)�
ensure_dir)�make_setuptools_install_args)�runner_with_spinner_message)�
TempDirectory�record_lines�root�req_description�returnc �F �� dt dt f�fd�}| D ]C}t j � |� � }|� d� � r
||� � } n%�Dd� |� � }t
|� � �g }| D ]�}|� � � } t j � | � � r| t j j z
} |�
t j � || � � |� � � � ��|� � � t |� � t j � |d� � }
t |
d� � 5 }|� d� |� � dz � � d d d � � d S # 1 swxY w Y d S ) N�pathr c �j �� ��t j � | � � s| S t �| � � S )N)�osr �isabsr )r r s ��I/usr/lib/python3/dist-packages/pip/_internal/operations/install/legacy.py�prepend_rootzBwrite_installed_files_from_setuptools_record.<locals>.prepend_root s/ �� ��<�r�w�}�}�T�2�2�<��K��t�T�*�*�*� z .egg-infoz�{} did not indicate that it installed an .egg-info directory. Only setup.py projects generating .egg-info directories are supported.zinstalled-files.txt�w�
)�strr r �dirname�endswith�formatr �strip�isdir�sep�append�relpath�sortr �join�open�write)r r r r �line� directory�egg_info_dir�message� new_lines�filename�inst_files_path�fs ` r �,write_installed_files_from_setuptools_recordr2 s� �� �
+�3� +�3� +� +� +� +� +� +� � )� )���G�O�O�D�)�)� ����k�*�*� �'�<� �2�2�L��E� �
>� �&��
!�
!� �
��(�(�(��I�� P� P���:�:�<�<��
�7�=�=��"�"� $�����#�H����������h�)?�)?��N�N�O�O�O�O�
�N�N�����|�����g�l�l�<�1F�G�G�O�
�o�s� #� #� -�q� ���� � �)�$�$�t�+�,�,�,�-� -� -� -� -� -� -� -� -� -� -� -���� -� -� -� -� -� -s �,F�F�F�install_options�global_options�home�prefix�
use_user_site� pycompile�scheme�
setup_py_path�isolated�req_name� build_env�unpacked_source_directoryc �� � |j }t d�� � 5 } t j � |j d� � }t ||| ||||||| |�� � }t
d|
� �� � }|5 |||�� � d d d � � n# 1 swxY w Y t j � |� � s)t � d|� � d d d � � dS n## t $ r}t |
� � � |�d }~ww xY wt |� � 5 }|�
� � � � � }d d d � � n# 1 swxY w Y d d d � � n# 1 swxY w Y t |||
� � d
S )N�record)�kindzinstall-record.txt)
r4 r3 �record_filenamer r6 �
header_dirr5 r7 �no_user_configr8 zRunning setup.py install for )�cmd�cwdzRecord file %s not foundF)�package_detailsT)�headersr r r r'