관리-도구
편집 파일: creator.cpython-311.pyc
� �܋f< � �B � d dl Z d dlZd dlZd dlZd dlmZmZ d dlmZ d dl m Z d dlmZ d dl mZ d dlmZ d dlmZ d d lmZ d d lmZ ddlmZ eej � e� � � � j Zed z Z G d� d� � Z G d� de�� � Z d� Z!ddgZ"dS )� N)�ABCMeta�abstractmethod)�ArgumentTypeError)�literal_eval)�OrderedDict)�Path)�LogCmd)�safe_delete)�run_cmd)�__version__� )�PyEnvCfgzdebug.pyc � � e Zd Zd� ZdS )�CreatorMetac � � d | _ d S �N)�error��selfs �j/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/create/creator.py�__init__zCreatorMeta.__init__ s � ��� � � � N)�__name__� __module__�__qualname__r � r r r r s# � � � � � �� � � � r r c � � e Zd ZdZd� Zd� Zd� Zed� � � Zed� � � Z e d� � � Zed� � � Zd � Z d � Zd� Zed� � � Zed � � � ZdS )�CreatorzEA class that given a python Interpreter creates a virtual environmentc �� � || _ d| _ t |j � � | _ |j | _ |j | _ t j | j � � | _ |j | _ |j | _ dS )z�Construct a new virtual environment creator. :param options: the CLI option as parsed from :meth:`add_parser_arguments` :param interpreter: the interpreter to create virtual environment from N)�interpreter�_debugr �dest�clear� no_vcs_ignorer �from_folder� pyenv_cfg�app_data�env)r �optionsr s r r zCreator.__init__ sc � � '���������&�&�� ��]�� �$�2���!�-�d�i�8�8����(�� ��;����r c � � | j j � dd� d� | � � � D � � � � � d�S )N�(z, c 3 �* K � | ]\ }}|� d |� �V � �dS )�=Nr )�.0�k�vs r � <genexpr>z#Creator.__repr__.<locals>.<genexpr>. s0 � � � �5Z�5Z�T�Q���j�j�Q�j�j�5Z�5Z�5Z�5Z�5Z�5Zr �))� __class__r �join�_argsr s r �__repr__zCreator.__repr__- sA � ��.�)�]�]�D�I�I�5Z�5Z�T�Z�Z�\�\�5Z�5Z�5Z�,Z�,Z�]�]�]�]r c �P � dt | j � � fd| j fd| j fgS )Nr"