Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
distributions
/
__pycache__
[ HOME ]
Exec
Submit
File Name : sdist.cpython-312.pyc
� p�/i� � � � d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dl m Z d dlmZ d dl mZ d d lmZ erd d lmZ ej$ e� Z G d� de � Zy) � )�annotationsN)�Iterable)� TYPE_CHECKING)�BuildEnvironment)�AbstractDistribution)�InstallationError)�BaseDistribution)�runner_with_spinner_message)�BuildEnvironmentInstallerc � � e Zd ZdZedd�� Zd d�Z dd�Z dd�Zdd�Z dd�Z dd�Z dd �Zdd �Z y)�SourceDistributionzRepresents a source distribution. The preparation step for these needs metadata for the packages to be generated. c �r � | j j sJ �| j j j S )z/Identify this requirement uniquely by its link.)�req�link�url_without_fragment��selfs �P/opt/hc_python/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py�build_tracker_idz#SourceDistribution.build_tracker_id s( � � �x�x�}�}��}��x�x�}�}�1�1�1� c �6 � | j j � S )N)r �get_distr s r �get_metadata_distributionz,SourceDistribution.get_metadata_distribution s � ��x�x� � �"�"r c �� � | j j � |r=| j |� | j j � | j |� n| j j � |ri| j j }|�J �| j j j |� \ }}|r| j d|� |r| j |� | j j � y )N�the backend dependencies)r �load_pyproject_toml�_prepare_build_backend�editable_sanity_check�_install_build_reqs�pyproject_requires� build_env�check_requirements�_raise_conflicts�_raise_missing_reqs�prepare_metadata)r �build_env_installer�build_isolation�check_build_depsr �conflicting�missings r �prepare_distribution_metadataz0SourceDistribution.prepare_distribution_metadata# s� � � ���$�$�&� � �'�'�(;�<� �H�H�*�*�,��$�$�%8�9� �H�H�*�*�,��!%���!<�!<��%�1�1�1�#'�8�8�#5�#5�#H�#H�"�$� �K�� ��%�%�&@�+�N���(�(��1����!�!�#r c �0 � | j j }|�J �t |� | j _ | j j j |dd| j �� | j j j | j j � \ }}|r| j d|� |r]t j d| j � t j ddj t t t |� � � � y y )N�overlayzbuild dependencies��kind�for_reqz"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"