관리-도구
편집 파일: namespaces.cpython-37.pyc
B ��Re � @ sF d dl Z d dlmZ d dlZejjZG dd� d�ZG dd� de�ZdS )� N)�logc @ sT e Zd ZdZdd� Zdd� Zdd� ZdZd Zd d� Z dd � Z dd� Zedd� �Z dS )� Installerz -nspkg.pthc C s� | � � }|sd S tj�| �� �\}}|| j7 }| j�|� t� d|� t | j|�}| jrdt |� d S t|d��}|�|� W d Q R X 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�f� r ��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/namespaces.py�install_namespaces s zInstaller.install_namespacesc C sH t j�| �� �\}}|| j7 }t j�|�s.d S t�d|� t �|� d S )NzRemoving %s) r r r r r �existsr r �remove)r r r r r r �uninstall_namespaces s zInstaller.uninstall_namespacesc C s | j S )N)�target)r r r r r '