File: //usr/lib/python3/dist-packages/virtualenv/discovery/__pycache__/builtin.cpython-310.pyc
o
$�"b� � @ s� d dl mZmZ d dlZd dlZd dlZd dlmZ d dlm Z m
Z
ddlmZ ddl
mZ ddlmZ G d d
� d
e�Zddd�Zdd
d�Zdd� ZG dd� de�Zdd� Zdd� ZG dd� de�ZdS )� )�absolute_import�unicode_literalsN)�IS_WIN)�
ensure_str�ensure_text� )�Discover)�
PythonInfo)�
PythonSpecc s@ e Zd Z� fdd�Zedd� �Zdd� Zdd� Zd d
� Z� Z S )�Builtinc s: t t| ��|� |jr|jntjg| _|j| _|j| _d S �N) �superr �__init__�python�sys�
executable�python_spec�app_data�try_first_with)�self�options�� __class__� �>/usr/lib/python3/dist-packages/virtualenv/discovery/builtin.pyr s zBuiltin.__init__c
C s6 |j ddddtdg dd� |j dd d
tdg dd� 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�parserr r r �add_parser_arguments s&