관리-도구
편집 파일: namespaces.cpython-311.pyc
� ,�Re � �p � d dl Z d dlmZ d dlZej j Z G d� d� � Z G d� de� � ZdS )� N)�logc �X � e Zd ZdZd� Zd� Zd� ZdZ dZ d� Z d� Z d � Zed � � � Z dS )� Installerz -nspkg.pthc �� � | � � � }|sd S t j � | � � � � � \ }}|| j z }| j � |� � t j d|� � t | j |� � }| j rt |� � d S t |d� � 5 }|� |� � d d d � � d S # 1 swxY w Y d S )Nz Installing %s�wt)�_get_all_ns_packages�os�path�splitext�_get_target� nspkg_ext�outputs�appendr �info�map�_gen_nspkg_line�dry_run�list�open� writelines)�self�nsp�filename�ext�lines�fs ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/namespaces.py�install_namespaceszInstaller.install_namespaces s( � ��'�'�)�)��� ��F���(�(��)9�)9�);�);�<�<� ��#��D�N�"������H�%�%�%����(�+�+�+��D�(�#�.�.���<� ���K�K�K��F� �(�D� !� !� �Q� �L�L����� � � � � � � � � � � � ���� � � � � � s �C&�&C*�-C*c � � t j � | � � � � � \ }}|| j z }t j � |� � sd S t j d|� � t j |� � d S )NzRemoving %s) r r r r r �existsr r �remove)r r r s r �uninstall_namespaceszInstaller.uninstall_namespaces sv � ���(�(��)9�)9�);�);�<�<� ��#��D�N�"���w�~�~�h�'�'� ��F�����)�)�)� � �(������ c � � | j S �N)�target�r s r r zInstaller._get_target'