| 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/distributions/__pycache__/ |
Upload File : |
�
�/�c^ � � � d dl Z d dlmZmZmZ d dlmZ d dlmZ d dl m
Z
d dlmZ d dl
mZ d dlmZ e j e� � Z G d � d
e� � ZdS )� N)�Iterable�Set�Tuple)�BuildEnvironment)�AbstractDistribution)�InstallationError)�
PackageFinder)�BaseDistribution)�runner_with_spinner_messagec �� � e Zd ZdZdefd�Zdedededdfd�Zdeddfd �Z de
e fd
�Zde
e fd�Z
deddfd�Zd
edeeeef ddfd�Zdee ddfd�ZdS )�SourceDistributionz�Represents a source distribution.
The preparation step for these needs metadata for the packages to be
generated, either using PEP 517 or using the legacy `setup.py egg_info`.
�returnc �4 � | j � � � S )N)�req�get_dist)�selfs �C/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py�get_metadata_distributionz,SourceDistribution.get_metadata_distribution s � ��x� � �"�"�"� �finder�build_isolation�check_build_depsNc �� � | j � � � | j j o|}|rC| � |� � | j � � � | � |� � | j j o|}|ra| j j }|�J �| j j � |� � \ }}|r| � d|� � |r| �
|� � | j � � � d S )N�the backend dependencies)r �load_pyproject_toml�
use_pep517�_prepare_build_backend�isolated_editable_sanity_check�_install_build_reqs�pyproject_requires� build_env�check_requirements�_raise_conflicts�_raise_missing_reqs�prepare_metadata) r r r r �should_isolate�should_check_depsr �conflicting�missings r �prepare_distribution_metadataz0SourceDistribution.prepare_distribution_metadata s � �
��$�$�&�&�&� ��,�@����
-�
�'�'��/�/�/�
�H�3�3�5�5�5��$�$�V�,�,�,� �H�/�D�4D��� 2�!%��!<��%�1�1�1�#'�8�#5�#H�#H�"�$� $� �K�� �
O��%�%�&@�+�N�N�N��
2��(�(��1�1�1���!�!�#�#�#�#�#r c � � | j j }|�J �t � � | j _ | j j � ||dd�� � | j j � | j j � � \ }}|r| � d|� � |rpt � d| j � � t � dd�
t t t |� � � � � � � � d S d S )N�overlayzbuild dependencies��kindz"PEP 517/518 supported requirementsz4Missing build requirements in pyproject.toml for %s.z`The project does not specify a build backend, and pip cannot fall back to setuptools without %s.z and )r r r r! �install_requirementsr"