| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/setuptools/command/__pycache__/ |
Upload File : |
a
��e�
� @ s� d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ dd l
mZ d
dlmZ G dd
� d
e�Zdd� ZdS )zD
Create a dist_info directory
As defined in the wheel specification
� N)�contextmanager)�log)�Command)�Path)�cast� )�_normalization� )�egg_infoc @ sX e Zd ZdZdZg d�ZddgZddiZdd� Zd d
� Z e
eed�dd
��Z
dd� ZdS )� 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 C s( d | _ d | _d | _d | _d | _d| _d S )NF)�
output_dir�name�
dist_info_dir�tag_date� tag_build�
keep_egg_info)�self� r �@/usr/lib/python3.9/site-packages/setuptools/command/dist_info.py�initialize_options* s zdist_info.initialize_optionsc C s� | j }|jptj}t| jp|�| _tt| �d��}t | j�|_
| jrN| j|_n|j| _| jrf| j|_n|j| _|�
� || _t�|�� �}t�|�� �}|� d|� �| _tj�| j| j� d��| _d S )Nr
�-z
.dist-info)ZdistributionZsrc_root�os�curdirr r r �egg_info_clsZreinitialize_command�strZegg_baser r �finalize_optionsr
r Z
safer_nameZget_nameZsafer_best_effort_versionZget_versionr �path�joinr )r ZdistZproject_dirr
r �versionr r r r"