§
{<ˆjf ã óÞ — d dl Z d dlZd dlmZ ddlmZ ddlmZ ddlm Z m
Z
ddlmZ ddl
mZ dd lmZ d
dlmZ d
dlmZ d
d
lmZ d
dlmZ dd„Zdd„Zdd„Zdd„Zd„ Zd„ Zd„ Zd„ Z ddgZ!dS )é N)Úpartialé )Ú
make_app_data)ÚVirtualEnvConfigParser)ÚLEVELSÚsetup_report)ÚSession)Úmanual_upgrade)Ú__version__é )ÚActivationSelector)ÚCreatorSelector)Úget_discover)ÚSeederSelectorTc ó¦ — |€t j n|}t | |||¦ « }|5 | ¦ « ddd¦ « n# 1 swxY w Y |S )aó
Create a virtual environment given some command line interface arguments.
:param args: the command line arguments
:param options: passing in a ``VirtualEnvOptions`` object allows return of the parsed options
:param setup_logging: ``True`` if setup logging handlers, ``False`` to use handlers already registered
:param env: environment variables to use
:return: the session object of the creation (its structure for now is experimental and might change on short notice)
N)ÚosÚenvironÚsession_via_cliÚrun)ÚargsÚoptionsÚ
setup_loggingÚenvÚ
of_sessions úi/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/virtualenv/run/__init__.pyÚcli_runr s— € ð ˜�"Œ*ˆ*¨€CÝ w°
¸sÑCÔC€JØ ð ð Ø�ŠÑÔÐðð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð àÐs ¥AÁA
Á
A
c ó ‡— |€t j n|}t | ‰||¦ « \ }}| | ¦ « Št ˆfd„|D ¦ « ¦ « \ }}}t ‰j ‰j |j |||¦ « } | S )aq
Create a virtualenv session (same as cli_run, but this does not perform the creation). Use this if you just want to
query what the virtual environment would look like, but not actually create it.
:param args: the command line arguments
:param options: passing in a ``VirtualEnvOptions`` object allows return of the parsed options
:param setup_logging: ``True`` if setup logging handlers, ``False`` to use handlers already registered
:param env: environment variables to use
:return: the session object of the creation (its structure for now is experimental and might change on short notice)
Nc 3 óB •K — | ]}| ‰¦ « V — Œd S ©N)Úcreate)Ú.0Úer s €r ú