U
    &%e                     @   s   d Z ddlZdZdd Zejdd ek rLedeejdd eeddlZddlm	Z	 dd	l
mZ eeeZG d
d dZejde  edkstdejdddd dS )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)      c                 C   s   d dd | D S )N.c                 s   s   | ]}t |V  qd S )N)str).0v r   Q/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/pip/__pip-runner__.py	<genexpr>   s     zversion_str.<locals>.<genexpr>)join)versionr   r   r	   version_str   s    r      z?This version of pip does not support python {} (requires >={}).)
PathFinder)dirnamec                   @   s   e Zd ZedddZdS )PipImportRedirectingFinderNc                 C   s0   |dkrd S t |tg|}|s,tt|f|S )Npip)r   	find_specPIP_SOURCES_ROOTAssertionError)selffullnamepathtargetspecr   r   r	   r   %   s
    z$PipImportRedirectingFinder.find_spec)NN)__name__
__module____qualname__classmethodr   r   r   r   r	   r   $   s   r   __main__z1Cannot run __pip-runner__.py as a non-main moduler   T)Zrun_nameZ	alter_sys)__doc__sysZPYTHON_REQUIRESr   version_info
SystemExitformatZrunpyZimportlib.machineryr   os.pathr   __file__r   r   	meta_pathinsertr   r   Z
run_moduler   r   r   r	   <module>   s$    	