File: D:/Python311/Lib/site-packages/setuptools/_distutils/command/__pycache__/sdist.cpython-311.pyc
�
�nc)K � �� � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZmZ d� Z G d� de� � ZdS )zadistutils.command.sdist
Implements the Distutils 'sdist' command (create a source distribution).� N)�glob)�warn)�Command)�dir_util)� file_util)�archive_util)�TextFile)�FileList)�log)�convert_path)�DistutilsOptionError�DistutilsTemplateErrorc � � ddl m} ddlm} g }|� � � D ])}|� d|z d|| d f� � �*|� � � | |� � � d� � dS )zoPrint all possible values for the 'formats' option (used by
the "--help-formats" command-line option).
r )�FancyGetopt)�ARCHIVE_FORMATS�formats=N� z.List of available source distribution formats:)�distutils.fancy_getoptr �distutils.archive_utilr �keys�append�sort�
print_help)r r �formats�formats �ED:\Python311\Lib\site-packages\setuptools/_distutils/command/sdist.py�show_formatsr s� � � 3�2�2�2�2�2�6�6�6�6�6�6��G�!�&�&�(�(� P� P�����
�V�+�T�?�6�3J�1�3M�N�O�O�O�O��L�L�N�N�N��K����#�#�$T�U�U�U�U�U� c �� � e Zd ZdZd� Zg d�Zg d�ZdddefgZdd d
�Z defgZ
dZd
� Zd� Z
d� Zd� Zd� Zd� Zed� � � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd � Z d!� Z!d"� Z"dS )#�sdistz6create a source distribution (tarball, zip file, etc.)c � � | j S )zYCallable used for the check sub-command.
Placed here so user_options can view it)�metadata_check��selfs r �checking_metadatazsdist.checking_metadata'