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/discovery/__pycache__/ |
Upload File : |
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&