📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-28 00:48:55
📂
/ (Root)
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
cli
/
__pycache__
📍 /opt/hc_python/lib/python3.12/site-packages/pip/_internal/cli/__pycache__
🔄 Refresh
✏️
Editing: req_command.cpython-312.pyc
Read Only
� i�*jLD � �\ � d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl m Z mZmZ ddl mZmZmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ dd lmZmZmZ ddlmZ ddl m!Z! ddl"m#Z# ddl$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4 ddl5m6Z6 ddl7m8Z8 ddl9m:Z: ddl;m<Z< ddl=m>Z> ddl?m@Z@mAZA ddlBmCZCmDZDmEZE ej� eG� ZHd%d�ZIeEj� eEj� eEj� gZM edd �!� ZN d&d"�ZO d'd#�ZP G d$� d e� ZQy)(z�Contains the RequirementCommand base class. This class is in a separate module so the commands that do not always need PackageFinder capability don't unnecessarily import the PackageFinder machinery and all its vendored dependencies, etc. � )�annotationsN)�partial)�Values)�Any�Callable�TypeVar)�BuildEnvironmentInstaller�"InprocessBuildEnvironmentInstaller�#SubprocessBuildEnvironmentInstaller)� WheelCache)� cmdoptions)�make_target_python)�IndexGroupCommand)�SessionCommandMixin)�CommandError�PreviousBuildDirError�UnsupportedPythonVersion)� LinkCollector)� PackageFinder)�SelectionPreferences)�TargetPython)� PipSession)�BuildTracker)�RequirementPreparer)�install_req_from_editable�install_req_from_line�#install_req_from_parsed_requirement�install_req_from_pylock_package�install_req_from_req_string)�PEP723Exception�pep723_metadata)�parse_dependency_groups)�parse_requirements)�InstallRequirement)�BaseResolver)�check_requires_python)�is_valid_pylock_filename�select_from_pylock_path_or_url)� TempDirectory�TempDirectoryTypeRegistry� tempdir_kindsc �F � t j j d� dk( S )z� Check if regular constraints should be ignored because we are in a isolated build process and build constraints feature is enabled but no build constraints were passed. � _PIP_IN_BUILD_IGNORE_CONSTRAINTS�1)�os�environ�get��optionss �L/opt/hc_python/lib/python3.12/site-packages/pip/_internal/cli/req_command.py�!should_ignore_regular_constraintsr5 @ s � � �:�:�>�>�<�=��D�D� � _CommandT�RequirementCommand)�boundc � � �� dd��d�� fd�}|S )zNDecorator for common logic related to managing temporary directories. c �>