o
    h                     @   s8   d Z ddlZddlmZ ddlmZ G dd deZdS )zD
Create a dist_info directory
As defined in the wheel specification
    N)Command)logc                   @   s.   e Zd ZdZdgZdd Zdd Zdd Zd	S )
	dist_infozcreate a .dist-info directory)z	egg-base=ezLdirectory containing .egg-info directories (default: top of the source tree)c                 C   s
   d | _ d S N)egg_baseself r
   O/var/www/html/venv/lib/python3.10/site-packages/setuptools/command/dist_info.pyinitialize_options   s   
zdist_info.initialize_optionsc                 C   s   d S r   r
   r   r
   r
   r   finalize_options   s   zdist_info.finalize_optionsc                 C   sn   |  d}| j|_|  |  |jd td  d }tdt	j
| |  d}||j| d S )Negg_infoz	.egg-infoz
.dist-infozcreating '{}'bdist_wheel)get_finalized_commandr   r   runr   lenr   infoformatospathabspathegg2dist)r	   r   dist_info_dirr   r
   r
   r   r      s   

zdist_info.runN)__name__
__module____qualname__descriptionuser_optionsr   r   r   r
   r
   r
   r   r      s    r   )__doc__r   distutils.corer   	distutilsr   r   r
   r
   r
   r   <module>   s
    