Current File : //usr/lib/python3/dist-packages/setuptools/_distutils/command/__pycache__/sdist.cpython-312.pyc |
�
_�d K � � � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
dd lmZ dd
lm
Z
ddlmZ ddlmZ dd
lmZ ddlmZmZ d� Z G d� de� Zy)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 }|j � D ] }|j d|z d|| d f� �! |j
� | |� j d� y)zoPrint all possible values for the 'formats' option (used by
the "--help-formats" command-line option).
r )�FancyGetopt)�ARCHIVE_FORMATS�formats=Nz.List of available source distribution formats:)�fancy_getoptr r r �keys�append�sort�
print_help)r r �formats�formats �E/usr/lib/python3/dist-packages/setuptools/_distutils/command/sdist.py�show_formatsr sh � � +�.��G�!�&�&�(� P�����
�V�+�T�?�6�3J�1�3M�N�O�P��L�L�N����#�#�$T�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"y)#�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&