관리-도구
편집 파일: dist_info.cpython-311.pyc
� N�Dg� � � � d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl mZ ddlm Z G d � d e � � Zd� Zd� ZdS ) zD Create a dist_info directory As defined in the wheel specification � N)�contextmanager)�log)�Command)�Path� )�_normalizationc �` � e Zd ZdZdZg d�ZddgZddiZd� Zd� Z e d ed efd�� � Z d� Zd S )� dist_infoz� This command is private and reserved for internal use of setuptools, users should rely on ``setuptools.build_meta`` APIs. z@DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory))zoutput-dir=�ozYdirectory inside of which the .dist-info will becreated (default: top of the source tree))�tag-date�dz0Add date stamp (e.g. 20050528) to version number)z tag-build=�bz-Specify explicit tag to add to version number)�no-date�Dz"Don't include date stamp [default])� keep-egg-infoNz,*TRANSITIONAL* will be removed in the futurer r r c �Z � d | _ d | _ d | _ d | _ d | _ d| _ d S )NF)� output_dir�name� dist_info_dir�tag_date� tag_build� keep_egg_info)�selfs �|/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/command/dist_info.py�initialize_optionszdist_info.initialize_options) s4 � ������ �!����� ����"����� c � � | j }|j pt j }t | j p|� � | _ | � d� � }t | j � � |_ | j r | j |_ n|j | _ | j r | j |_ n|j | _ |� � � || _ t j |� � � � � }t j |� � � � � }|� d|� �| _ t j � | j | j � d�� � | _ d S )N�egg_info�-z .dist-info)�distribution�src_root�os�curdirr r �reinitialize_command�str�egg_baser r �finalize_optionsr r � safer_name�get_name�safer_best_effort_version�get_versionr �path�joinr )r �dist�project_dirr r �versions r r'