관리-도구
편집 파일: develop.cpython-311.pyc
� ,�Red � � � d dl mZ d dlmZ d dlmZmZ d dlZd dlZd dl Z d dl Z d dlmZ d dl mZ d dl Z G d� dej e� � Z G d � d � � ZdS )� )�convert_path)�log)�DistutilsError�DistutilsOptionErrorN)�easy_install)� namespacesc � � e Zd ZdZdZej ddgz Zej dgz ZdZd� Z d� Z d � Zed � � � Z d� Zd� Zd � Zd� ZdS )�developzSet up package for developmentz%install package in 'development mode')� uninstall�uzUninstall this source package)z egg-path=Nz-Set the path to be used in the .egg-link filer Fc �� � | j r0d| _ | � � � | � � � n| � � � | � � � d S )NT)r � multi_version�uninstall_link�uninstall_namespaces�install_for_development�warn_deprecated_options��selfs ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/command/develop.py�runzdevelop.run se � ��>� +�!%�D�����!�!�!��%�%�'�'�'�'��(�(�*�*�*��$�$�&�&�&�&�&� c �f � d | _ d | _ t j | � � d | _ d| _ d S )N�.)r �egg_pathr �initialize_options� setup_path�always_copy_fromr s r r zdevelop.initialize_options% s6 � ������ ��'��-�-�-���� #����r c �( � | � d� � }|j r"d}|j |j f}t ||z � � �|j g| _ t j | � � | � � � | � � � | j � t j d� � � � |j dz }t j � | j |� � | _ |j | _ | j �)t j � |j � � | _ t+ j | j � � }t+ j t j � | j | j � � � � }||k rt/ d|z � � �t+ j |t+ j |t j � |j � � � � |j �� � | _ | � | j | j | j � � | _ d S )N�egg_infoz-Please rename %r to %r before using 'develop'z*.eggz .egg-linkzA--egg-path must be a relative path from the install directory to ��project_name)�get_finalized_command�broken_egg_infor r �egg_name�argsr �finalize_options�expand_basedirs�expand_dirs� package_index�scan�glob�os�path�join�install_dir�egg_link�egg_baser �abspath� pkg_resources�normalize_pathr �Distribution�PathMetadata�dist�_resolve_setup_pathr )r �ei�templater% �egg_link_fn�targetr s r r&