Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/virtualenv/seed/wheels/__pycache__/ |
Upload File : |
o $�"b_ � @ sX d dl mZmZ ddlmZ ddlmZ ddlmZmZm Z dd� Z d d � Zdd� Zd S )� )�absolute_import�unicode_literals� )�get_embed_wheel� )�periodic_update)�Version�Wheel�discover_wheelsc C sx t �|�}t|| ||�}|t jkr:|jrt| |||||||�}t| |||�} | dur:|du r2| }|S | j|jkr:| }|S )z6 Load the bundled wheel to a cache directory. N)r � of_version�load_embed_wheel�embed� can_updater �from_dir� version_tuple) �distribution�version�for_py_version�search_dirs�app_data�do_periodic_update�envr �wheel�found_wheel� r �?/usr/lib/python3/dist-packages/virtualenv/seed/wheels/bundle.py�from_bundle s ��r c st t ||�}|d ur8||jk}|d u s|r6� �|j� fdd��� }t|�}W d � |S 1 s/w Y |S d }|S )Nc s � j S )N)�houser �r r r �<lambda>% s z"load_embed_wheel.<locals>.<lambda>)r r �ensure_extracted�pathr )r r r r r � version_match� wheel_pathr r r r s ���r c C s, |D ]}t || ||�D ]}| S qdS )z6 Load a compatible wheel from a given folder. N)r )r r r �directories�folderr r r r r , s �r N) � __future__r r �wheels.embedr r �utilr r r r r r r r r r �<module> s