Server IP : 172.67.214.6 / Your IP : 216.73.216.244 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/hc_python/lib/python3.12/site-packages/virtualenv/run/__pycache__/ |
Upload File : |
� ���g� � �v � d dl mZ d dlZd dlZ ej e� Z G d� d� ZdZ G d� d� Z dgZ y)� )�annotationsNc � � e Zd ZdZdd�Zed� � Zed� � Zed� � Zed� � Z ed� � Z d� Zd � Zd � Z d� Zd� Zd � Zy)�Sessionz2Represents a virtual environment creation session.c �X � || _ || _ || _ || _ || _ || _ y �N)� _verbosity� _app_data�_interpreter�_creator�_seeder�_activators)�self� verbosity�app_data�interpreter�creator�seeder� activatorss �E/opt/hc_python/lib/python3.12/site-packages/virtualenv/run/session.py�__init__zSession.__init__ s. � �#���!���'����� ����%��� c � � | j S )zThe verbosity of the run.)r �r s r r zSession.verbosity s � � ���r c � � | j S )zACreate 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 )zIThe mechanism used to provide the seed packages (pip, setuptools, wheel).)r r s r r zSession.seeder# s � � �|�|�r c � � | j S )z0Activators used to generate activations scripts.)r r s r r zSession.activators( s � � ���r c � � | j � | j � | j � | j j j � y r )�_create�_seed� _activater � pyenv_cfg�writer s r �runzSession.run- s4 � ������ � �����������$�$�&r c � � t j d| j � | j j � t j t � t j dt | j � � y )Nz!create virtual environment via %sz%s)�LOGGER�infor r$ �debug� _DEBUG_MARKER�_Debugr s r r zSession._create3 sH � ����7����F����������]�#����T�6�$�,�,�/�0r c �� � | j �]| j j rFt j d| j � | j j | j � y y y )Nzadd seed packages via %s)r �enabledr&