관리-도구
편집 파일: namespaces.cpython-312.pyc
� t��e � �v � d dl Z d dlmZ d dlZej j Z G d� d� Z G d� de� Zy)� N)�logc �V � e Zd ZdZd� Zd� Zd� Zd� ZdZ dZ d� Z d � Zd � Ze d� � Zy) � Installerz -nspkg.pthc �l � | j � }|sy | j � }| j j |� t j d|� t | j |� }| j rt |� y t |d� 5 }|j |� d d d � y # 1 sw Y y xY w)Nz Installing %s�wt)�_get_all_ns_packages�_get_nspkg_file�outputs�appendr �info�map�_gen_nspkg_line�dry_run�list�open� writelines)�self�nsp�filename�lines�fs ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/namespaces.py�install_namespaceszInstaller.install_namespaces s� � ��'�'�)�����'�'�)�������H�%�����(�+��D�(�(�#�.���<�<���K�� �(�D� !� �Q� �L�L��� � � �s �B*�*B3c � � | j � }t j j |� sy t j d|� t j |� y )NzRemoving %s)r �os�path�existsr r �remove)r r s r �uninstall_namespaceszInstaller.uninstall_namespaces s= � ��'�'�)���w�w�~�~�h�'�������)� � � �(�� c � � t j j | j � � \ }}|| j z S �N)r r �splitext�_get_target� nspkg_ext)r r �_s r r zInstaller._get_nspkg_file$ s2 � ��g�g�&�&�t�'7�'7�'9�:���!��$�.�.�(�(r c � � | j S r"