Hacked By AnonymousFox
�
!�g� � � � d dl mZ d dl mZ d dl mZ d dlZd dlZd dlZd dlmZm Z m
Z
ddlmZ dZ
ej � ej � e� � d � � Zd
ZdZ G d� d
e� � Zdd�Zdd�Zdd�Zdd�ZdS )� )�print_function)�division)�absolute_importN)�
check_call� list_dirs�run_command_full� )�Interpreter�nodevenvznodevenv.pyz /opt/cloudlinux/venv/bin/python3zpackage.jsonc �r � e Zd Zdd�Zd� Zd� Zdd�Zdd�Zdd�Zd � Z d
� Z
d� Zd� Zdd�Z
d� Zd� Zd� Zd� ZdS )�EnvironmentNc �\ � || _ |r|| _ n/t j t j � � � � j | _ |�
t | _ n|| _ t j �
t | j | j � � |� � | _ d | _ d | _
d|z | _ d S )N�node)�name�user�pwd�getpwuid�os�getuid�pw_name�DEFAULT_PREFIX�prefix�path�join�_abs_prefix�_interpreter�_npm�interpreter_name)�selfr r r s �_/opt/cloudlinux/venv/lib64/python3.11/site-packages/clselect/clselectnodejsuser/environments.py�__init__zEnvironment.__init__ s� � ��� �� :��D�I�I���R�Y�[�[�1�1�9�D�I��>�(�D�K�K� �D�K��G�L�L��T�Y���!D�!D�d�K�K�� � ����� � &��
����� c
�j � | j j �d| j j �d| j �d| j �d| j �d�
S )N�.z(name='z ', user='z', prefix='z'))� __class__�
__module__�__name__r r r �r s r �__repr__zEnvironment.__repr__* s@ � ��N�%�%�%�t�~�'>�'>�'>��I�I�I�t�y�y�y�$�+�+�+�/� 0r"