관리-도구
편집 파일: session.cpython-311.pyc
� �܋fQ � �T � d dl Z d dlZ G d� d� � ZdZ G d� d� � ZdgZdS )� Nc � � e Zd ZdZd� Zed� � � Zed� � � Zed� � � Zed� � � Z ed� � � Z d� Zd � Zd � Z d� Zd� Zd � ZdS )�Sessionz1Represents a virtual environment creation sessionc �Z � || _ || _ || _ || _ || _ || _ d S �N)� _verbosity� _app_data�_interpreter�_creator�_seeder�_activators)�self� verbosity�app_data�interpreter�creator�seeder� activatorss �g/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/run/session.py�__init__zSession.__init__ s4 � �#���!���'����� ����%����� c � � | j S )zThe verbosity of the run)r �r s r r zSession.verbosity s � � ��r c � � | j S )z@Create a virtual environment based on this reference interpreter)r r s r r zSession.interpreter s � � � � r c � � | j S )z[The creator used to build the virtual environment (must be compatible with the interpreter))r r s r r zSession.creator s � � �}�r c � � | j S )zHThe mechanism used to provide the seed packages (pip, setuptools, wheel))r r s r r zSession.seeder s � � �|�r c � � | j S )z/Activators used to generate activations scripts)r r s r r zSession.activators$ s � � ��r c � � | � � � | � � � | � � � | j j � � � d S r )�_create�_seed� _activater � pyenv_cfg�writer s r �runzSession.run) sI � �������� � �������������$�$�&�&�&�&�&r c �� � t j d| j � � | j � � � t j t � � t j dt | j � � � � d S )Nz!create virtual environment via %sz%s)�logging�infor r# �debug� _DEBUG_MARKER�_Debugr s r r zSession._create/ s] � ���8�$�,�G�G�G��������� �m�$�$�$�� �d�F�4�<�0�0�1�1�1�1�1r c � � | j �G| j j r=t j d| j � � | j � | j � � d S d S d S )Nzadd seed packages via %s)r �enabledr% r&