관리-도구
편집 파일: venv.cpython-311.pyc
� �܋fw � � � d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dl mZ dd lm Z mZ dd lmZ G d� de � � ZdgZdS ) � N)�copy)�handle_store_python)� PythonInfo)�ProcessCallFailed)� ensure_dir)�run_cmd� )�ViaGlobalRefApi�ViaGlobalRefMeta)�Pypy3Windowsc �p � � e Zd Z� fd�Z� fd�Zed� � � Z� fd�Zd� Zd� Z d� Z d� Z� fd �Zd � Z � xZS )�Venvc �� �� |j | _ t � � � ||� � t j � � }||u o|j |j k | _ d | _ d S �N) �describe�super�__init__r �current� executable�system_executable� can_be_inline�_context)�self�options�interpreterr � __class__s ��v/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/create/via_global_ref/venv.pyr z Venv.__init__ s^ �� ��(�� � ������+�.�.�.��$�&�&��(�G�3�o��8N�R]�Ro�8o����� � � � c � �� t � � � � � | j rd| j j j fgng z S )Nr )r �_argsr r �__name__)r r s �r r z Venv._args s9 �� ��w�w�}�}���VZ�Vc�"k�J�� �0G�0P�#Q�"R�"R�ik�l�lr c � � |j r;t � � }|j dk r |j j dk rt ||� � }|S d S )N�win32� )�has_venvr �platform�version_info�majorr )�clsr �metas r � can_createzVenv.can_create sP � ��� �#�%�%�D��#�w�.�.�;�3K�3Q�UV�3V�3V�*�4��=�=���K��tr c � �� | j r| � � � n| � � � | j D ]}t |� � �t � � � � � | � � � d S r )r � create_inline�create_via_sub_process�libsr r �create�!executables_for_win_pypy_less_v37)r �libr s �r r0 zVenv.create"