관리-도구
편집 파일: namespaces.cpython-311.pyc
� �܋f8 � �| � d dl Z d dlmZ d dlZddlmZ ej j Z G d� d� � Z G d� de � � Z dS ) � N)�log� )�py39c �^ � e Zd ZdZd� Zd� Zd� Zd� ZdZ dZ d� Z d � Zd � Ze d� � � ZdS ) � Installerz -nspkg.pthc � � | � � � }|sd S | � � � }| j � |� � t j d|� � t | j |� � }| j rt |� � d S t |dt j �� � 5 }|� |� � d d d � � d S # 1 swxY w Y d S )Nz Installing %s�wt)�encoding)�_get_all_ns_packages�_get_nspkg_file�outputs�appendr �info�map�_gen_nspkg_line�dry_run�list�openr �LOCALE_ENCODING� writelines)�self�nsp�filename�lines�fs �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/setuptools/namespaces.py�install_namespaceszInstaller.install_namespaces s � ��'�'�)�)��� ��F��'�'�)�)������H�%�%�%����(�+�+�+��D�(�#�.�.���<� ���K�K�K��F� �(�D�4�+?� @� @� @� �A� �L�L����� � � � � � � � � � � � ���� � � � � � s �%C�C�Cc �� � | � � � }t j � |� � sd S t j d|� � t j |� � d S )NzRemoving %s)r �os�path�existsr r �remove)r r s r �uninstall_namespaceszInstaller.uninstall_namespaces sV � ��'�'�)�)���w�~�~�h�'�'� ��F�����)�)�)� � �(������ c �~ � t j � | � � � � � \ }}|| j z S �N)r r �splitext�_get_target� nspkg_ext)r r �_s r r zInstaller._get_nspkg_file'