File: //lib/python3.9/site-packages/virtualenv/discovery/__pycache__/builtin.cpython-39.pyc
a
��:i� � @ s� d dl Z d dlZd dlZd dlmZ d dlmZmZ ddlm Z ddl
mZ ddlm
Z
G dd � d e �Zdd
d�Zddd
�Zdd� ZG dd� d�Zdd� ZG dd� de�Zg d�ZdS )� N)�Path)�IS_WIN�
fs_path_id� )�Discover)�
PythonInfo)�
PythonSpecc s8 e Zd Z� fdd�Zedd� �Zdd� Zdd� Z� ZS ) �Builtinc s6 t � �|� |jr|jntjg| _|j| _|j| _d S �N)�super�__init__�python�sys�
executable�python_spec�app_data�try_first_with)�self�options�� __class__� �@/usr/lib/python3.9/site-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&