관리-도구
편집 파일: builtin.cpython-311.pyc
� �܋f� � �� � 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 ��m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-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'