📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-27 18:33:41
📂
/
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
operations
/
__pycache__
✏️
Editing: prepare.cpython-312.pyc
� Jr*jvq � � � d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z ddl mZ ddlm Z ddlmZ dd lmZ dd lmZ ddlmZ ddlmZmZmZmZmZmZmZ dd lmZ ddl m!Z!m"Z" ddl#m$Z$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ddl7m8Z8m9Z9 ddl:m;Z;m<Z< ddl=m>Z> ddl?m@Z@mAZAmBZBmCZC ddlDmEZE ddlFmGZG ddlHmIZI e rddlJmKZK e6eL� ZM d*d �ZNd+d!�ZOe G d"� d#� � ZP d, d-d$�ZQ d, d.d%�ZR d, d/d&�ZS d0 d1d'�ZT G d(� d)� ZUy)2z(Prepares a distribution for installation� )�annotationsN)�Iterable)� dataclass)�Path)� TYPE_CHECKING)�canonicalize_name)�BuildEnvironmentInstaller)�)make_distribution_for_install_requirement)�InstalledDistribution)�DirectoryUrlHashUnsupported�HashMismatch�HashUnpinned�InstallationError�MetadataInconsistent�NetworkConnectionError�VcsHashUnsupported)� PackageFinder)�BaseDistribution�get_metadata_distribution)�ArchiveInfo� DirectUrl)�Link)�Wheel)� Downloader)�HTTPRangeRequestUnsupported�dist_from_wheel_url)� PipSession)�BuildTracker)�InstallRequirement)� getLogger)�direct_url_for_editable�direct_url_from_link)�Hashes� MissingHashes)� indent_log)�display_path� hash_file�hide_url�redact_auth_from_requirement)� TempDirectory)�unpack_file)�vcs)�BarTypec � � t | � }|j }|�>|j | |� 5 |j |||� ddd� |j � S |j � S # 1 sw Y |j � S xY w)z(Prepare a distribution for installation.N)r �build_tracker_id�track�prepare_distribution_metadatar )�req� build_tracker�build_env_installer�build_isolation�check_build_deps� abstract_dist� tracker_ids �O/opt/hc_python/lib/python3.12/site-packages/pip/_internal/operations/prepare.py�_get_prepared_distributionr: A s� � � >�c�B�M��/�/�J��� � � ��j� 1��7�7�#�_�6F� � 2� �2�2�4�4�=�2�2�4�4� 2� �2�2�4�4�s �A(�(B c � � t j | j � }|�J �|j |t | j � |�� y )N)�url� verbosity)r, �get_backend_for_scheme�scheme�unpackr( r<