| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/virtualenv/discovery/__pycache__/ |
Upload File : |
�
�h�c� � �� � d dl Z d dlZd dlZd dlmZ ddlmZ ddlmZ ddl m
Z
G d� de� � Zdd �Zdd
�Z
d� Z G d� d
� � Zd� Zd� Z G d� de� � Zg d�ZdS )� N)�IS_WIN� )�Discover)�
PythonInfo)�
PythonSpecc �@ � � e Zd Z� fd�Zed� � � Zd� Zd� Z� xZS )�Builtinc � �� t � � � |� � |j r|j nt j g| _ |j | _ |j | _ d S �N)�super�__init__�python�sys�
executable�python_spec�app_data�try_first_with)�self�options� __class__s ��>/usr/lib/python3/dist-packages/virtualenv/discovery/builtin.pyr
zBuiltin.__init__
sP �� �
������!�!�!�-4�^�Q�7�>�>�#�.�AQ����(��
�%�4����� c
� � |� ddddt dg d�� � |� dd d
t dg d�� � d S )Nz-pz--pythonr �py�appendz�interpreter based on what to create environment (path/identifier) - by default use the interpreter where the tool is installed - first found wins)�dest�metavar�type�action�default�helpz--try-first-withr �py_exez:try first these interpreters before starting the discovery)�add_argument�str)�cls�parsers r �add_parser_argumentszBuiltin.add_parser_arguments sx � �����������^� �
�
�
� ����!�����M� �
�
�
�
�
r c �h � | j D ])}t || j | j | j � � }|�|c S �*d S r )r �get_interpreterr r �_env)r r �results r �runzBuiltin.run* sI � ��+� � �K�$�[�$�2E�t�}�VZ�V_�`�`�F��!��
�
�
� "��tr c �| � t | j � � dk r
| j d n| j }| j j � d|��S )Nr r z discover of python_spec=)�lenr r �__name__)r �specs r �__repr__zBuiltin.__repr__1 sE � �&)�$�*:�&;�&;�q�&@�&@�t���"�"�d�FV���.�)�L�L�D�L�L�Lr ) r/ �
__module__�__qualname__r
�classmethodr'