Current Dir: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command/__pycache__/
[FILE] alias.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_egg.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_rpm.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_clib.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_ext.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_py.cpython-310.pyc [ edit | delete | rename ]
[FILE] develop.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] easy_install.cpython-310.pyc [ edit | delete | rename ]
[FILE] egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_lib.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_scripts.cpython-310.pyc [ edit | delete | rename ]
[FILE] py36compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] register.cpython-310.pyc [ edit | delete | rename ]
[FILE] rotate.cpython-310.pyc [ edit | delete | rename ]
[FILE] saveopts.cpython-310.pyc [ edit | delete | rename ]
[FILE] sdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] setopt.cpython-310.pyc [ edit | delete | rename ]
[FILE] test.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload_docs.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command/__pycache__/install_egg_info.cpython-310.pyc
o
VD7h{ � @ sd d dl mZmZ d dlZd dlZd dlmZ d dlmZ d dlm Z d dl
Z
G dd� deje�ZdS )� )�log�dir_utilN)�Command)�
namespaces)�unpack_archivec @ sB e Zd ZdZdZdgZdd� Zdd� Zdd� Zd d
� Z dd� Z
d
S )�install_egg_infoz.Install an .egg-info directory for the package)zinstall-dir=�dzdirectory to install toc C s d | _ d | _d | _d S �N)�install_dir�install_layout�
prefix_option��self� r �E/usr/lib/python3/dist-packages/setuptools/command/install_egg_info.py�initialize_options s
z#install_egg_info.initialize_optionsc C s� | � dd� | � dd� tjdkr| � dd� | �d�}t�d d |j|j��� d }| jrH| j� � d vr8t
d
��| j� � | _|�dtj d�}n| j
sPd
tjv rQn |�dtj d�}|j| _tj�| j|�| _g | _d S )N�install_lib)r
r
�install)r r i )r r �egg_infoz .egg-info��debz"unknown value for --install-layoutz-py%s� �real_prefix)�set_undefined_options�sys�
hexversion�get_finalized_command�
pkg_resources�Distribution�egg_name�egg_versionr �lower�DistutilsOptionError�replace�PY_MAJORr �__dict__r �source�os�path�joinr
�target�outputs)r �ei_cmd�basenamer r r �finalize_options s. �
��
z!install_egg_info.finalize_optionsc C s� | � d� tj�| j�rtj�| j�stj| j| jd� ntj� | j�r1| �
tj| jfd| j � | js:t�
| j� | �
| jdd| j| jf � | �� d S )Nr )�dry_runz Removing r �Copying %s to %s)�run_commandr'