U
ʗRe= @ s d Z ddlZddlZddlZddlmZmZ ddlmZ ddl m
Z
mZmZ eee
ZG dd dZejde edkstd ejd
ddd dS )
zExecute exactly this copy of pip, within a different environment.
This file is named as it is, to ensure that this module can't be imported via
an import statement.
N)
ModuleSpec
PathFinder)dirname)OptionalSequenceUnionc @ s@ e Zd Zedeeeeeef ee j
ee dddZdS )PipImportRedirectingFinderN)fullnamepathtargetreturnc C s0 |dkrd S t |tg|}|s,tt|f|S )Npip)r find_specPIP_SOURCES_ROOTAssertionError)selfr r
r spec r /builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/__pip-runner__.pyr s
z$PipImportRedirectingFinder.find_spec)NN)
__name__
__module____qualname__classmethodstrr r r bytestypes
ModuleTyper r r r r r r s r __main__z1Cannot run __pip-runner__.py as a non-main moduler
T)run_name alter_sys)__doc__Zrunpysysr importlib.machineryr r os.pathr typingr r r __file__r r meta_pathinsertr r
run_moduler r r r