관리-도구
편집 파일: sdist.cpython-312.pyc
� t��e 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 ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-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&