<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
B
    a
                 @   sT   d dl mZmZ d dlZd dlZd dlmZ G dd deZdZ	G dd deZ
dS )	    )absolute_importunicode_literalsN)ensure_textc               @   s   e Zd ZdZdd Zedd Zedd Zedd	 Zed
d Z	edd Z
dd Zdd Zdd Zdd Zdd Zdd ZdS )Sessionz1Represents a virtual environment creation sessionc             C   s(   || _ || _|| _|| _|| _|| _d S )N)
_verbosity	_app_data_interpreter_creator_seeder_activators)self	verbosityZapp_datainterpretercreatorseeder
activators r   G/opt/alt/python37/lib/python3.7/site-packages/virtualenv/run/session.py__init__   s    zSession.__init__c             C   s   | j S )zThe verbosity of the run)r   )r   r   r   r   r      s    zSession.verbosityc             C   s   | j S )z@Create a virtual environment based on this reference interpreter)r   )r   r   r   r   r      s    zSession.interpreterc             C   s   | j S )z[The creator used to build the virtual environment (must be compatible with the interpreter))r	   )r   r   r   r   r      s    zSession.creatorc             C   s   | j S )zHThe mechanism used to provide the seed packages (pip, setuptools, wheel))r
   )r   r   r   r   r   #   s    zSession.seederc             C   s   | j S )z/Activators used to generate activations scripts)r   )r   r   r   r   r   (   s    zSession.activatorsc             C   s(   |    |   |   | jj  d S )N)_create_seed	_activater   Z	pyenv_cfgwrite)r   r   r   r   run-   s    zSession.runc             C   s@   t dtt| j | j  t t t dt| j d S )Nz!create virtual environment via %sz%s)	logginginfor   strr   r   debug_DEBUG_MARKER_Debug)r   r   r   r   r   3   s    

zSession._createc             C   s2   | j d k	r.| j jr.td| j  | j | j d S )Nzadd seed packages via %s)r   enabledr   r   r   r   )r   r   r   r   r   9   s    zSession._seedc             C   sD   | j r@tdddd | j D  x| j D ]}|| j q,W d S )Nzadd activators for %sz, c             s   s    | ]}t |jd dV  qdS )Z	Activator N)type__name__replace).0ir   r   r   	<genexpr>B   s    z$Session._activate.<locals>.<genexpr>)r   r   r   joinZgenerater   )r   Z	activatorr   r   r   r   >   s    zSession._activatec             C   s   | S )Nr   )r   r   r   r   	__enter__G   s    zSession.__enter__c             C   s   | j   d S )N)r   close)r   exc_typeexc_valexc_tbr   r   r   __exit__J   s    zSession.__exit__N)r#   
__module____qualname____doc__r   propertyr   r   r   r   r   r   r   r   r   r)   r.   r   r   r   r   r   	   s   	r   zJ============================== target debug ==============================c               @   s(   e Zd ZdZdd Zdd Zdd ZdS )	r   zlazily populate debugc             C   s
   || _ d S )N)r   )r   r   r   r   r   r   T   s    z_Debug.__init__c             C   s   t t| S )N)r   repr)r   r   r   r   __unicode__W   s    z_Debug.__unicode__c             C   s   t j| jjddS )N   )indent)jsondumpsr   r   )r   r   r   r   __repr__Z   s    z_Debug.__repr__N)r#   r/   r0   r1   r   r4   r9   r   r   r   r   r   Q   s   r   )
__future__r   r   r7   r   Zvirtualenv.util.sixr   objectr   r   r   r   r   r   r   <module>   s   E