U
if=J @ s d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZmZ dd ZG dd deZdS )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)DistutilsTemplateErrorDistutilsOptionErrorc C s` ddl m} ddlm} g }| D ] }|d| d|| d f q$| | |d dS )zoPrint all possible values for the 'formats' option (used by
the "--help-formats" command-line option).
r )FancyGetopt)ARCHIVE_FORMATSformats=N z.List of available source distribution formats:)Zdistutils.fancy_getoptr Zdistutils.archive_utilr keysappendsortZ
print_help)r r formatsformat r </opt/alt/python38/lib64/python3.8/distutils/command/sdist.pyshow_formats s
r c @ s" e Zd ZdZdd Zdddddd d
ddd
ddddgZddddddgZdddefgZdddZ defgZ
dZdd Zd d! Z
d"d# Zd$d% Zd&d'